From: Frederic Weisbecker <fweisbec@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Frederic Weisbecker <fweisbec@gmail.com>,
Paul Mackerras <paulus@samba.org>, Ingo Molnar <mingo@elte.hu>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
David Miller <davem@davemloft.net>
Subject: [PATCH 0/2] perf: perf_arch_fetch_regs_caller API change
Date: Fri, 21 May 2010 10:11:15 +0200 [thread overview]
Message-ID: <1274429477-21531-1-git-send-regression-fweisbec@gmail.com> (raw)
Hi,
I did some updates in this function, we don't need anymore
to skip further the first caller now. So I think it's worth
the simplification to lower the overhead in the tracing fast
path.
I took Paul updates for PowerPc and I did the changes on x86.
But I'm clearly useless about the sparc part, I'm still confused
about these window things. So all I did in this arch is to
wrap the older API with the new one, always passing the skip to 1.
I suspect David can be more useful than me to do a real change there :)
Tell me what you think,
Thanks.
Frederic Weisbecker (2):
x86: Unify dumpstack.h and stacktrace.h
perf: Drop the skip argument from perf_arch_fetch_regs_caller
arch/powerpc/include/asm/perf_event.h | 12 +++++++
arch/powerpc/kernel/misc.S | 26 ---------------
arch/sparc/include/asm/perf_event.h | 4 ++
arch/sparc/kernel/helpers.S | 6 ++--
arch/x86/include/asm/perf_event.h | 9 +++++
arch/x86/include/asm/stacktrace.h | 49 ++++++++++++++++++++++++++++
arch/x86/kernel/cpu/perf_event.c | 14 --------
arch/x86/kernel/dumpstack.c | 1 -
arch/x86/kernel/dumpstack.h | 56 ---------------------------------
arch/x86/kernel/dumpstack_32.c | 2 -
arch/x86/kernel/dumpstack_64.c | 1 -
arch/x86/kernel/stacktrace.c | 7 ++--
include/linux/perf_event.h | 32 ++++--------------
include/trace/ftrace.h | 2 +-
kernel/perf_event.c | 5 ---
kernel/trace/trace_event_perf.c | 2 -
16 files changed, 89 insertions(+), 139 deletions(-)
delete mode 100644 arch/x86/kernel/dumpstack.h
next reply other threads:[~2010-05-21 8:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-21 8:11 Frederic Weisbecker [this message]
2010-05-21 8:11 ` [PATCH 1/2] x86: Unify dumpstack.h and stacktrace.h Frederic Weisbecker
2010-05-21 8:11 ` [PATCH 2/2] perf: Drop the skip argument from perf_arch_fetch_regs_caller Frederic Weisbecker
2010-05-21 10:24 ` Peter Zijlstra
2010-05-21 10:29 ` Frederic Weisbecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1274429477-21531-1-git-send-regression-fweisbec@gmail.com \
--to=fweisbec@gmail.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@redhat.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).