ftrace: disable tracing when current_tracer is set to "none"
authorAnkita Garg <ankita@in.ibm.com>
Mon, 9 Jun 2008 08:40:25 +0000 (14:10 +0530)
committerIngo Molnar <mingo@elte.hu>
Tue, 10 Jun 2008 12:52:30 +0000 (14:52 +0200)
Found that inspite of setting the current_tracer to "none", trace from
the previous trace type continued to be collected. The patch below fixes
this and causes the trace to be disabled when the "none" type is
selected.

Compile and boot tested the patch for functionality.

Signed-off-by: Ankita Garg <ankita@in.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found