[PATCH 3/3] ftrace: add ability to only trace swapper tasks

Ingo Molnar mingo at elte.hu
Thu Dec 4 07:36:26 PST 2008


* Eric W. Biederman <ebiederm at xmission.com> wrote:

> Ingo Molnar <mingo at elte.hu> writes:
> 
> > * Andrew Morton <akpm at linux-foundation.org> wrote:
> >
> >> > Signed-off-by: Steven Rostedt <srostedt at redhat.com>
> >> 
> >> What does this patch actually do?  Is swapper currently excluded from 
> >> tracing for undisclosed reasons and this patch permits it to be traced? 
> >> If so, why was swapper thus excluded?  Or am I totally off track?
> >
> >> > +static struct pid * const ftrace_swapper_pid = (struct pid *)1;
> >> 
> >> eh?
> >
> > all side-effects of getting rid of the integer based PID namespace 
> > and replacing them with struct pid pointers.
> 
> Thanks for asking Andrew it looks like an unnecessary side effect.

Will wait for how the end result looks like ;-)

	Ingo


More information about the Containers mailing list