]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - kernel/trace/trace.c
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)
commit9afecfbb95198ec3ea6d52cca4711ea314f29ec6
tree3269004091cde68fa25a1e0a90001cded6364cfb
parentf631718de3ca24a9ae03595e937fe0b64cfaf456
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