lkml.org 
[lkml]   [2010]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Perf hot regs snapshot for trace events
Date
Please tell me what you think about this new version.
I still can not fallback to save the ip for archs that
don't implement it as it can't be done in a generic way,
but more work has been made to implement this support
more easily.

No more assembly in this new version, it also uses
functions instead of macros and it implements the callers
level skipping. Then instead of starting the callchain from
perf/ftrace event callbacks, we start on the real event
source.

Thanks.

Frederic Weisbecker (2):
perf: Introduce new perf_save_regs() for hot regs snapshot
perf: Take a hot regs snapshot for trace events

arch/x86/kernel/cpu/perf_event.c | 12 ++++++++++
arch/x86/kernel/dumpstack.h | 15 ++++++++++++
include/linux/ftrace_event.h | 7 ++++-
include/linux/perf_event.h | 42 +++++++++++++++++++++++++++++++++++-
include/trace/ftrace.h | 6 ++++-
kernel/perf_event.c | 14 ++++++------
kernel/trace/trace_event_profile.c | 3 +-
kernel/trace/trace_kprobe.c | 5 ++-
kernel/trace/trace_syscalls.c | 4 +-
9 files changed, 92 insertions(+), 16 deletions(-)



\
 
 \ /
  Last update: 2010-03-05 04:11    [W:0.081 / U:10.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site