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

Andrew Morton akpm at linux-foundation.org
Wed Dec 3 12:49:15 PST 2008


On Wed, 03 Dec 2008 15:36:59 -0500
Steven Rostedt <rostedt at goodmis.org> wrote:

> This patch makes the changes to set_ftrace_pid apply to the function
> graph tracer.

That sentence needs help.

>  # 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?


More information about the Containers mailing list