Messages in this thread | | | Date | Thu, 4 Dec 2008 10:47:27 -0500 (EST) | From | Steven Rostedt <> | Subject | Re: [PATCH 3/3] ftrace: add ability to only trace swapper tasks |
| |
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
| |