[Devel] Re: [PATCH 1/5] ftrace: add function tracing to single thread
Steven Rostedt
rostedt at goodmis.org
Wed Nov 26 08:55:37 PST 2008
On Wed, 26 Nov 2008, Ingo Molnar wrote:
>
> * Eric W. Biederman <ebiederm at xmission.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
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list