Skip to content

perf updates and fixes

Frederic Weisbecker linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7perf: Drop the frame reliablity checkarch/x86/kernel/cpu/perf_event.c+1 -20 replies
2/7perf: Fetch hot regs from the template callerinclude/trace/ftrace.h+12 -110 replies
3/7x86: Unify dumpstack.h and stacktrace.harch/x86/include/asm/stacktrace.h arch/x86/kernel/cpu/perf_event.c arch/x86/kernel/dumpstack.c +4 more+50 -570 replies
4/7perf: Move perf_arch_fetch_caller_regs into a macroarch/x86/include/asm/perf_event.h arch/x86/kernel/cpu/perf_event.c include/linux/perf_event.h +2 more+14 -260 replies
5/7perf: Make perf_fetch_caller_regs rewind to the first caller onlyarch/x86/include/asm/perf_event.h arch/x86/include/asm/stacktrace.h include/linux/perf_event.h +1 more+11 -326 replies
6/7perf: Use hot regs with software sched/migrate eventsinclude/linux/perf_event.h kernel/perf_event.c+15 -90 replies
7/7perf: Correctly align perf event tracing bufferkernel/trace/trace_event_perf.c+9 -20 replies

Reviews trailers per patch

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

PatchEric Dumazet
1/7
2/7
3/7
4/7
5/7T-b T-b
6/7
7/7

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/7] perf updates and fixes

Hi,

The series is not yet mergeable because it would break PowerPc (hot regs snapshot API has been changed, and I don't know how to update PowerPc for that).

But if you're fine with the ideas, I can integrate the necessary changes to fix this, and also separate fixes and updates.

Thanks.

Frederic Weisbecker (7):
perf: Drop the frame reliablity check
perf: Fetch hot regs from the template caller
x86: Unify dumpstack.h and stacktrace.h
perf: Move perf_arch_fetch_caller_regs into a macro
perf: Make perf_fetch_caller_regs rewind to the first caller only
perf: Use hot regs with software sched/migrate events
perf: Correctly align perf event tracing buffer

 arch/x86/include/asm/perf_event.h |   10 ++++++-
 arch/x86/include/asm/stacktrace.h |   45 ++++++++++++++++++++++++++++++++
 arch/x86/kernel/cpu/perf_event.c  |   18 +------------
 arch/x86/kernel/dumpstack.c       |    1 -
 arch/x86/kernel/dumpstack.h       |   47 ----------------------------------
 arch/x86/kernel/dumpstack_32.c    |    2 -
 arch/x86/kernel/dumpstack_64.c    |    2 -
 arch/x86/kernel/stacktrace.c      |    7 +++--
 include/linux/perf_event.h        |   51 ++++++++++++++----------------------
 include/trace/ftrace.h            |   23 ++++++++--------
 kernel/perf_event.c               |   10 +------
 kernel/trace/trace_event_perf.c   |   13 ++++++---
 12 files changed, 101 insertions(+), 128 deletions(-)
 delete mode 100644 arch/x86/kernel/dumpstack.h