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

Showing the changes to include/linux (1 of 1 file). Show all

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,