]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Postpone tracer start-up tests till the system is more robust
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 24 Mar 2017 21:59:10 +0000 (17:59 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 25 Mar 2017 00:51:46 +0000 (20:51 -0400)
commit58c1c18b8383aaa2a01b156b2f7c15c921b25eef
tree3269004091cde68fa25a1e0a90001cded6364cfb
parent3eed88d9693d90c511cc8c07b52ba5c837101497
tracing: Postpone tracer start-up tests till the system is more robust

As tracing can now be enabled very early in boot up, even before some
critical system services (like scheduling), do not run the tracer selftests
until after early_initcall() is performed. If a tracer is registered before
such time, it is saved off in a list and the test is run when the system is
able to handle more diverse functions.

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