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

From: Steven Rostedt
Date: Thu Dec 04 2008 - 10:47:41 EST



On Thu, 4 Dec 2008, Ingo Molnar wrote:
> > >
> > >> > +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 ;-)

I'm waiting on a fix for fork.c. I already wrote the code in ftrace when
the fork code is fixed. It does clean it up nicely. But I do not know all
the intricacies of the struct pid code to do the fork code correctly.

-- Steve

--
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/