Re: [PATCH 1/5] ftrace: add function tracing to single thread

From: Ingo Molnar
Date: Wed Nov 26 2008 - 01:55:27 EST



* Eric W. Biederman <ebiederm@xxxxxxxxxxxx> 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)

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/