tracing/function-graph-tracer: append the tracing_graph_flag
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 6 Dec 2008 02:43:41 +0000 (03:43 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 8 Dec 2008 14:11:45 +0000 (15:11 +0100)
Impact: Provide a way to pause the function graph tracer

As suggested by Steven Rostedt, the previous patch that prevented from
spinlock function tracing shouldn't use the raw_spinlock to fix it.
It's much better to follow lockdep with normal spinlock, so this patch
adds a new flag for each task to make the function graph tracer able
to be paused. We also can send an ftrace_printk whithout worrying of
the irrelevant traced spinlock during insertion.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found