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>
This commit is contained in:
@@ -49,7 +49,7 @@ unsigned long __read_mostly tracing_thresh;
|
||||
* On boot up, the ring buffer is set to the minimum size, so that
|
||||
* we do not waste memory on systems that are not using tracing.
|
||||
*/
|
||||
static int ring_buffer_expanded;
|
||||
int ring_buffer_expanded;
|
||||
|
||||
/*
|
||||
* We need to change this state when a selftest is running.
|
||||
@@ -63,7 +63,7 @@ static bool __read_mostly tracing_selftest_running;
|
||||
/*
|
||||
* If a tracer is running, we do not want to run SELFTEST.
|
||||
*/
|
||||
static bool __read_mostly tracing_selftest_disabled;
|
||||
bool __read_mostly tracing_selftest_disabled;
|
||||
|
||||
/* For tracers that don't implement custom flags */
|
||||
static struct tracer_opt dummy_tracer_opt[] = {
|
||||
|
Reference in New Issue
Block a user