ftrace: Have function tracing start in early boot up
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 3 Mar 2017 18:48:42 +0000 (13:48 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 25 Mar 2017 00:51:48 +0000 (20:51 -0400)
commitdbeafd0d6131d0f6ae8cd7551f5f4bf8c54aa49a
treea02766ddf429cfef75814ba584feea25cf9425e5
parent9afecfbb95198ec3ea6d52cca4711ea314f29ec6
ftrace: Have function tracing start in early boot up

Register the function tracer right after the tracing buffers are initialized
in early boot up. This will allow function tracing to begin early if it is
enabled via the kernel command line.

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