Skip to content

perf: Improve user regs sampling

Andy Lutomirski lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf: Move task_pt_regs sampling into arch codearch/arm/kernel/perf_regs.c arch/arm64/kernel/perf_regs.c arch/x86/kernel/perf_regs.c +3 more+63 -164 replies
2/2x86_64, perf: Improve user regs samplingarch/x86/kernel/perf_regs.c+76 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchJiri Olsa
SeriesT-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] perf: Improve user regs sampling

This seems to improve the situation on x86_64 from almost entirely broken to mostly working. Tested with:

perf record -e cycles --call-graph=dwarf ls

Andy Lutomirski (2):
perf: Move task_pt_regs sampling into arch code
x86_64, perf: Improve user regs sampling

 arch/arm/kernel/perf_regs.c   |  8 ++++
 arch/arm64/kernel/perf_regs.c |  8 ++++
 arch/x86/kernel/perf_regs.c   | 90 +++++++++++++++++++++++++++++++++++++++++++
 include/linux/perf_event.h    | 12 +++---
 include/linux/perf_regs.h     | 16 ++++++++
 kernel/events/core.c          | 19 ++++-----
 6 files changed, 137 insertions(+), 16 deletions(-)
Signature · 1 line
2.1.0