diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-07-01 10:47:05 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-07-01 15:44:24 +0200 |
commit | 020e5f85cb087a40572c8b8b2dd06292a14fa212 (patch) | |
tree | d1bd09885693dd9d5e9db995cb0f7f58aa0e1bb8 /kernel/trace/trace.h | |
parent | c5cb5a2d8d7dc872cf1504091ad0e59fe5ff7cb5 (diff) |
tracing/events: Add trace_event boot option
We already have ftrace= boot option, and this adds a similar
boot option for trace events, so allow trace events to be
enabled at boot, for boot debugging purpose.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A4ACE29.3010407@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 3548ae5cc78..52eb0d8dcd7 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -517,6 +517,9 @@ extern unsigned long ftrace_update_tot_cnt; extern int DYN_FTRACE_TEST_NAME(void); #endif +extern int ring_buffer_expanded; +extern bool tracing_selftest_disabled; + #ifdef CONFIG_FTRACE_STARTUP_TEST extern int trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr); |