Skip to content

perf: Support multiple stacks (v2)

Arun Sharma linux-perf-users lkml 1 version NAK

Status from this message: NAK.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/3perf, x86: Allow multiple stacksarch/x86/kernel/cpu/perf_event.c+0 -60 replies
2/3perf, x86: Don't leak kernel data via callchainsarch/x86/kernel/cpu/perf_event.c+7 -11 reply
3/3perf: Limit callchains to 127include/linux/perf_event.h+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] perf: Support multiple stacks (v2)

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(-)
Signature · 1 line
1.7.8.4