From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frederic Weisbecker Subject: [PATCH 0/2] Perf hot regs snapshot for trace events Date: Fri, 5 Mar 2010 04:08:04 +0100 Message-ID: <1267758486-30499-1-git-send-regression-fweisbec@gmail.com> References: <1267605529.25158.75.camel@laptop> Return-path: Received: from fg-out-1718.google.com ([72.14.220.152]:22892 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755108Ab0CEDIJ (ORCPT ); Thu, 4 Mar 2010 22:08:09 -0500 In-Reply-To: <1267605529.25158.75.camel@laptop> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Peter Zijlstra Cc: LKML , Frederic Weisbecker , Ingo Molnar , Thomas Gleixner , "H . Peter Anvin" , Paul Mackerras , Steven Rostedt , Arnaldo Carvalho de Melo , Masami Hiramatsu , Jason Baron , Archs 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(-)