tracing: Allow benchmark to be enabled at early_initcall()
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Mon, 28 Nov 2016 22:48:07 +0000 (17:48 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 9 Dec 2016 14:16:15 +0000 (09:16 -0500)
commit9c1f6bb8c88ab6c2779bdaf12d4f3407d336f085
tree4a06b9bff71e1d782f95138a351165122c0e0a94
parent989a0a3d248192b6f5d16cc2aea95faed89bb7ce
tracing: Allow benchmark to be enabled at early_initcall()

The trace event start up selftests fails when the trace benchmark is
enabled, because it is disabled during boot. It really only needs to be
disabled before scheduling is set up, as it creates a thread.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_benchmark.c