History

perf: Limit callchains to 127

Stack depth of 255 seems excessive, given that copy_from_user_nmi() could be slow.

Arun Sharma committed 14 years ago

Commit 0b0d9cf1 parent 302fa4b1 file · +1 −1Browse files

Unified · Split

include/linux/perf_event.h+1−1
@@ -555,7 +555,7 @@ enum perf_event_type { · 554 unmodified lines
555555 PERF_RECORD_MAX, /* non-ABI */
556556 };
557557
558−#define PERF_MAX_STACK_DEPTH 255
558+#define PERF_MAX_STACK_DEPTH 127
559559
560560 enum perf_callchain_context {
561561 PERF_CONTEXT_HV = (__u64)-32,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t