diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-06-30 22:47:05 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-07-01 09:44:24 -0400 |
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 3548ae5cc780..52eb0d8dcd75 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -517,6 +517,9 @@ extern unsigned long ftrace_update_tot_cnt; | |||
517 | extern int DYN_FTRACE_TEST_NAME(void); | 517 | extern int DYN_FTRACE_TEST_NAME(void); |
518 | #endif | 518 | #endif |
519 | 519 | ||
520 | extern int ring_buffer_expanded; | ||
521 | extern bool tracing_selftest_disabled; | ||
522 | |||
520 | #ifdef CONFIG_FTRACE_STARTUP_TEST | 523 | #ifdef CONFIG_FTRACE_STARTUP_TEST |
521 | extern int trace_selftest_startup_function(struct tracer *trace, | 524 | extern int trace_selftest_startup_function(struct tracer *trace, |
522 | struct trace_array *tr); | 525 | struct trace_array *tr); |