From: Frederic Weisbecker <fweisbec@gmail.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@elte.hu>, LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] tracing/branch-tracer: PROFILE_BRANCHES_PER_CPU must depend on SMP
Date: Sat, 6 Jun 2009 16:56:28 +0200 [thread overview]
Message-ID: <20090606145626.GB6008@nowhere> (raw)
In-Reply-To: <alpine.DEB.2.00.0906061041150.9522@gandalf.stny.rr.com>
On Sat, Jun 06, 2009 at 10:42:29AM -0400, Steven Rostedt wrote:
>
> On Sat, 6 Jun 2009, Frederic Weisbecker wrote:
> >
> > [ Impact: fix a build failure with the branch tracer ]
> >
> > Reported-by: Ingo Molnar <mingo@elte.hu>
> > Cc: Steven Rostedt <rostedt@goodmis.org>
> > Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
> > ---
> > kernel/trace/Kconfig | 2 +-
> > 1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
> > index 309a264..0efbcc5 100644
> > --- a/kernel/trace/Kconfig
> > +++ b/kernel/trace/Kconfig
> > @@ -285,7 +285,7 @@ endchoice
> >
> > config PROFILE_BRANCHES_PER_CPU
> > bool "Profile branches on a per cpu basis"
> > - depends on PROFILE_ALL_BRANCHES
> > + depends on PROFILE_ALL_BRANCHES && SMP
>
> You just wasted two minutes of my time!
>
> I was just about to send out the same patch, but you beat me to it. ;-)
>
> Acked-by: Steven Rostedt <rostedt@goodmis.org>
We really need a mutex... ;-)
Frederic.
>
> -- Steve
>
>
> > help
> > When profiling all branches, the system can take a big cache line
> > bouncing hit. On boxes with lots of CPUs, this can slow the system
> > --
> > 1.6.2.3
> >
> >
next prev parent reply other threads:[~2009-06-06 14:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-04 5:25 [PATCH 0/6] [GIT PULL] tracing/branch-profiler: per cpu and other things Steven Rostedt
2009-06-04 5:25 ` [PATCH 1/6] tracing/function-profiler: do not free per cpu variable stat Steven Rostedt
2009-06-04 5:25 ` [PATCH 2/6] tracing/branch-profiler: fix return value check on register_stat_tracer Steven Rostedt
2009-06-04 5:25 ` [PATCH 3/6] tracing/branch-profiler: do not profile managers Steven Rostedt
2009-06-04 5:25 ` [PATCH 4/6] tracing/branch-profiler: move macro defines to kernel.h Steven Rostedt
2009-06-04 5:25 ` [PATCH 5/6] tracing/branch-profiling: add variable to disable branch profiling Steven Rostedt
2009-06-04 5:25 ` [PATCH 6/6] tracing/branch-profiler: add option to profile branches per cpu Steven Rostedt
2009-06-06 7:31 ` [PATCH 0/6] [GIT PULL] tracing/branch-profiler: per cpu and other things Ingo Molnar
2009-06-06 14:37 ` [PATCH] tracing/branch-tracer: PROFILE_BRANCHES_PER_CPU must depend on SMP Frederic Weisbecker
2009-06-06 14:42 ` Steven Rostedt
2009-06-06 14:56 ` Frederic Weisbecker [this message]
2009-06-07 13:44 ` Ingo Molnar
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=20090606145626.GB6008@nowhere \
--to=fweisbec@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--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