tracing/ftrace: make nop tracer reset previous entries
authorFrédéric Weisbecker <fweisbec@gmail.com>
Sun, 21 Sep 2008 18:10:14 +0000 (20:10 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:38:04 +0000 (10:38 +0200)
commit35cb5ed01261f5669657d2f1720aca902299887d
treeb4c91f58d56f0744d076cfb69967efa747f1385d
parent8925b394eca0bb0a444a6487d702d0f650e94a10
tracing/ftrace: make nop tracer reset previous entries

If nop tracer is selected, some old entries from the previous tracer
could still be enqueued. Tracing have to be reset.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_nop.c