mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] perf: Support multiple stacks (v2)
@ 2012-04-20 19:35 Arun Sharma
  2012-04-20 19:35 ` [PATCH 1/3] perf, x86: Allow multiple stacks Arun Sharma
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Arun Sharma @ 2012-04-20 19:35 UTC (permalink / raw)
  To: linux-kernel; +Cc: Arun Sharma

If userspace has two or more stacks and we happen to take a sample when
the stack pointer is pointing to a higher stack, we might get truncated
callchains. This patch series tries to address that.

Changelog:

v2: do this for compat32 as well
v2: improve safety checks and reduce max callchain size

Arun Sharma (3):
  perf, x86: Allow multiple stacks
  perf, x86: Don't leak kernel data via callchains
  perf, x86: Limit callchains to 127

 arch/x86/kernel/cpu/perf_event.c |   14 +++++++-------
 include/linux/perf_event.h       |    2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

-- 
1.7.8.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-20 19:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-20 19:35 [PATCH 0/3] perf: Support multiple stacks (v2) Arun Sharma
2012-04-20 19:35 ` [PATCH 1/3] perf, x86: Allow multiple stacks Arun Sharma
2012-04-20 19:35 ` [PATCH 2/3] perf, x86: Don't leak kernel data via callchains Arun Sharma
2012-04-20 19:57   ` Linus Torvalds
2012-04-20 19:35 ` [PATCH 3/3] perf: Limit callchains to 127 Arun Sharma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®