diff options
author | Frédéric Weisbecker <fweisbec@gmail.com> | 2008-09-21 20:16:30 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 10:38:09 +0200 |
commit | 43a15386c4faf913f7d70a47748c266d6210cd6e (patch) | |
tree | 2af766a34661123bd520fb30b1f83fbff1e65dab /kernel/trace/trace.h | |
parent | 2a3a4f669df2164288d11406d11d5e4933bf5e53 (diff) | |
download | op-kernel-dev-43a15386c4faf913f7d70a47748c266d6210cd6e.zip op-kernel-dev-43a15386c4faf913f7d70a47748c266d6210cd6e.tar.gz |
tracing/ftrace: replace none tracer by nop tracer
Replace "none" tracer by the recently created "nop" tracer.
Both are pretty similar except that nop accepts TRACE_PRINT
or TRACE_SPECIAL entries.
And as a consequence, changing the size of the ring buffer now
requires that tracing has already been disabled.
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>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index c8c6870..cb2c3fb 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -369,4 +369,6 @@ enum trace_iterator_flags { TRACE_ITER_PRINTK = 0x400, }; +extern struct tracer nop_trace; + #endif /* _LINUX_KERNEL_TRACE_H */ |