From: Peter Zijlstra <peterz@infradead.org>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>, LKML <linux-kernel@vger.kernel.org>,
Steven Rostedt <rostedt@goodmis.org>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
Paul Mackerras <paulus@samba.org>
Subject: Re: [GIT PULL] perf callchains updates
Date: Thu, 19 Aug 2010 14:09:38 +0200 [thread overview]
Message-ID: <1282219778.2605.53.camel@laptop> (raw)
In-Reply-To: <1282175176-6363-1-git-send-regression-fweisbec@gmail.com>
On Thu, 2010-08-19 at 01:46 +0200, Frederic Weisbecker wrote:
> Ingo,
>
> Please pull the perf/core branch that can be found at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing.git
> perf/core
>
> Thanks,
> Frederic
> ---
>
> Frederic Weisbecker (6):
> perf: Drop unappropriate tests on arch callchains
> perf: Generalize callchain_store()
> perf: Generalize some arch callchain code
> perf: Factorize callchain context handling
> perf: Fix race in callchains
> perf: Humanize the number of contexts
>
> Namhyung Kim (1):
> perf, tracing: add missing __percpu markups
>
>
> arch/arm/kernel/perf_event.c | 62 +--------
> arch/powerpc/kernel/perf_callchain.c | 86 ++++--------
> arch/sh/kernel/perf_callchain.c | 50 +------
> arch/sparc/kernel/perf_event.c | 69 +++------
> arch/x86/kernel/cpu/perf_event.c | 82 +++--------
> include/linux/ftrace_event.h | 4 +-
> include/linux/perf_event.h | 30 +++-
> kernel/perf_event.c | 259 ++++++++++++++++++++++++++++++----
> kernel/trace/trace_event_perf.c | 21 ++--
> kernel/trace/trace_functions_graph.c | 2 +-
> 10 files changed, 342 insertions(+), 323 deletions(-)
/usr/src/linux-2.6/arch/x86/kernel/cpu/perf_event.c: In function ‘perf_callchain_kernel’:
/usr/src/linux-2.6/arch/x86/kernel/cpu/perf_event.c:1645: warning: ‘return’ with a value, in function returning void
/usr/src/linux-2.6/arch/x86/kernel/cpu/perf_event.c: In function ‘perf_callchain_user’:
/usr/src/linux-2.6/arch/x86/kernel/cpu/perf_event.c:1698: warning: ‘return’ with a value, in function returning void
---
Index: linux-2.6/arch/x86/kernel/cpu/perf_event.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/cpu/perf_event.c
+++ linux-2.6/arch/x86/kernel/cpu/perf_event.c
@@ -1642,7 +1642,7 @@ perf_callchain_kernel(struct perf_callch
{
if (perf_guest_cbs && perf_guest_cbs->is_in_guest()) {
/* TODO: We don't support guest os callchain now */
- return NULL;
+ return;
}
perf_callchain_store(entry, regs->ip);
@@ -1695,7 +1695,7 @@ perf_callchain_user(struct perf_callchai
if (perf_guest_cbs && perf_guest_cbs->is_in_guest()) {
/* TODO: We don't support guest os callchain now */
- return NULL;
+ return;
}
fp = (void __user *)regs->bp;
next prev parent reply other threads:[~2010-08-19 12:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-18 23:46 [GIT PULL] perf callchains updates Frederic Weisbecker
2010-08-18 23:46 ` [PATCH 1/7] perf: Drop unappropriate tests on arch callchains Frederic Weisbecker
2010-08-18 23:46 ` [PATCH 2/7] perf: Generalize callchain_store() Frederic Weisbecker
2010-08-18 23:46 ` [PATCH 3/7] perf: Generalize some arch callchain code Frederic Weisbecker
2010-08-18 23:46 ` [PATCH 4/7] perf: Factorize callchain context handling Frederic Weisbecker
2010-08-18 23:46 ` [PATCH 5/7] perf: Fix race in callchains Frederic Weisbecker
2010-08-18 23:46 ` [PATCH 6/7] perf: Humanize the number of contexts Frederic Weisbecker
2010-08-18 23:46 ` [PATCH 7/7] perf, tracing: add missing __percpu markups Frederic Weisbecker
2010-08-19 0:34 ` [GIT PULL] perf callchains updates Frederic Weisbecker
2010-08-19 10:06 ` Peter Zijlstra
2010-08-19 10:16 ` Ingo Molnar
2010-08-19 12:09 ` Peter Zijlstra [this message]
2010-08-19 17:33 ` 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=1282219778.2605.53.camel@laptop \
--to=peterz@infradead.org \
--cc=acme@redhat.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
--cc=rostedt@goodmis.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