trace: better use of stack_trace_enabled for boot up code
authorSteven Rostedt <srostedt@redhat.com>
Wed, 17 Dec 2008 14:43:00 +0000 (09:43 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Dec 2008 11:56:56 +0000 (12:56 +0100)
commite05a43b744fb9518cbf8539a7ef33164ac60a70f
treece45f7e86fe15b3b021cf416caa85bcf4dd38001
parentf38f1d2aa5a3520cf05da7cd6bd12fe2b0c509b7
trace: better use of stack_trace_enabled for boot up code

Impact: clean up

Andrew Morton suggested to use the stack_tracer_enabled variable
to decide whether or not to start stack tracing on bootup.
This lets us remove the start_stack_trace variable.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_stack.c