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

From: Andrew Morton
Date: Wed Dec 03 2008 - 15:50:33 EST


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.

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