perf: Limit callchains to 127
authorArun Sharma <asharma@fb.com>
Fri, 20 Apr 2012 22:41:34 +0000 (15:41 -0700)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Jun 2012 15:08:00 +0000 (17:08 +0200)
commit0b0d9cf6ec7bab91977da2d71c09157f110f7c2e
treec70689cc98aab1500585886bf71a993b21cc6046
parent302fa4b58ac754a6da13f4f5546f710fecc3b945
perf: Limit callchains to 127

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

Signed-off-by: Arun Sharma <asharma@fb.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1334961696-19580-3-git-send-email-asharma@fb.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/perf_event.h