From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@elte.hu>, Tom Zanussi <tzanussi@gmail.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
fweisbec@gmail.com
Subject: Re: [PATCH] tracing/filters: allow event filters to be set only when not tracing
Date: Fri, 3 Apr 2009 11:05:16 -0700 [thread overview]
Message-ID: <20090403180516.GC6968@linux.vnet.ibm.com> (raw)
In-Reply-To: <alpine.DEB.2.00.0904031241280.21481@gandalf.stny.rr.com>
On Fri, Apr 03, 2009 at 12:43:15PM -0400, Steven Rostedt wrote:
>
> On Fri, 3 Apr 2009, Ingo Molnar wrote:
> > >
> > > My kneejerk reaction is "why would anyone want to trace the idle
> > > loop?"
> >
> > heh :-)
> >
> > Idle enter/exit events are useful to tune power use for example. The
> > more events we have there, the more we prevent the CPU from slowly
> > going into deep sleep mode.
But we could in principle trace idle enter/exit from the scheduler, correct?
That said, it would be possible to allow much of the idle loop to contain
RCU read-side critical sections, but this requires putting rcu_qsctr_inc()
in each and every idle loop, plus catching the cases where idle loops
shut down the CPU. Note that this applies to synchronize_sched() as
well as synchronize_rcu().
> I can say I use it a lot. I'm still needing a way to set the function pid
> recorder to 0 since the conversion to the pid structure. There are times
> I only want to trace the interrupts that happen in the idle loop.
It would be OK to trace the interrupts, just not the idle loop itself.
Thanx, Paul
prev parent reply other threads:[~2009-04-03 18:05 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-30 5:22 [PATCH] tracing/filters: allow event filters to be set only when not tracing Tom Zanussi
2009-04-01 12:24 ` Ingo Molnar
2009-04-02 6:22 ` Tom Zanussi
2009-04-03 13:59 ` Ingo Molnar
2009-04-03 14:12 ` Steven Rostedt
2009-04-04 7:32 ` Tom Zanussi
2009-04-04 15:49 ` Steven Rostedt
2009-04-04 17:02 ` Paul E. McKenney
2009-04-05 7:34 ` Tom Zanussi
2009-04-05 17:11 ` Paul E. McKenney
2009-04-06 15:59 ` Steven Rostedt
2009-04-06 16:15 ` Paul E. McKenney
2009-04-06 19:30 ` Steven Rostedt
2009-04-06 19:44 ` Frederic Weisbecker
2009-04-06 19:52 ` Steven Rostedt
2009-04-06 20:15 ` Paul E. McKenney
2009-04-06 23:58 ` Paul E. McKenney
2009-04-07 0:34 ` Steven Rostedt
2009-04-07 1:27 ` Paul E. McKenney
2009-04-03 16:26 ` Paul E. McKenney
2009-04-03 16:37 ` Ingo Molnar
2009-04-03 16:43 ` Steven Rostedt
2009-04-03 18:05 ` Paul E. McKenney [this message]
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=20090403180516.GC6968@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
--cc=tzanussi@gmail.com \
/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