Re: [PATCH 3/3] ftrace: trace single pid for function graph tracer

From: Steven Rostedt
Date: Wed Dec 03 2008 - 15:52:39 EST



On Wed, 3 Dec 2008, Andrew Morton wrote:

> On Wed, 03 Dec 2008 15:36:59 -0500
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > This patch makes the changes to set_ftrace_pid apply to the function
> > graph tracer.
>
> That sentence needs help.

Medic!

>
> > # echo $$ > /debugfs/tracing/set_ftrace_pid
> > # echo function_graph > /debugfs/tracing/current_tracer
> >
> > Will cause only the current task to be traced. Note, the trace flags are
> > also inherited by child processes, so the children of the shell
> > will also be traced.
>
> Where did we end up on the pids-arent-unique issue? Gave up?

Nah, patch 2 opens the door for a solution. I'm just pawning the work off
to the container folks ;-)

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