[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0811261155200.26743@gandalf.stny.rr.com>
Date: Wed, 26 Nov 2008 11:55:37 -0500 (EST)
From: Steven Rostedt <rostedt@...dmis.org>
To: Ingo Molnar <mingo@...e.hu>
cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Frederic Weisbecker <fweisbec@...il.com>,
containers@...ts.osdl.org,
Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>,
"Serge E. Hallyn" <serue@...ibm.com>,
Steven Rostedt <srostedt@...hat.com>
Subject: Re: [PATCH 1/5] ftrace: add function tracing to single thread
On Wed, 26 Nov 2008, Ingo Molnar wrote:
>
> * Eric W. Biederman <ebiederm@...ssion.com> wrote:
>
> > > +/* ftrace_pid_trace >= 0 will only trace threads with this pid */
> > > +static int ftrace_pid_trace = -1;
> >
> > Why not?
> > static struct pid *ftrace_pid_trace = NULL;
>
> ok, looks reasonably simple at first sight.
>
> Steve, mind sending the conversion of this facility to struct pid as a
> delta patch? (that would have education purposes as well, for similar
> situations)
If I can trace specific kernel threads too, then I have no problem with
it.
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists