aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2009-06-30 22:47:05 -0400
committerIngo Molnar <mingo@elte.hu>2009-07-01 09:44:24 -0400
commit020e5f85cb087a40572c8b8b2dd06292a14fa212 (patch)
treed1bd09885693dd9d5e9db995cb0f7f58aa0e1bb8 /kernel/trace/trace.h
parentc5cb5a2d8d7dc872cf1504091ad0e59fe5ff7cb5 (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.h3
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;
517extern int DYN_FTRACE_TEST_NAME(void); 517extern int DYN_FTRACE_TEST_NAME(void);
518#endif 518#endif
519 519
520extern int ring_buffer_expanded;
521extern bool tracing_selftest_disabled;
522
520#ifdef CONFIG_FTRACE_STARTUP_TEST 523#ifdef CONFIG_FTRACE_STARTUP_TEST
521extern int trace_selftest_startup_function(struct tracer *trace, 524extern int trace_selftest_startup_function(struct tracer *trace,
522 struct trace_array *tr); 525 struct trace_array *tr);