tracing: Split tracing initialization into two for early initialization
commite725c731e3bb1e892e7b564c945b121cb41d1087
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 3 Mar 2017 18:37:33 +0000 (3 13:37 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 24 Mar 2017 17:08:43 +0000 (24 13:08 -0400)
tree90e6ebfbd020855bb1914a979fd78d4ef65b8b9d
parent97da3854c526d3a6ee05c849c96e48d21527606c
tracing: Split tracing initialization into two for early initialization

Create an early_trace_init() function that will initialize the buffers and
allow for ealier use of trace_printk(). This will also allow for future work
to have function tracing start earlier at boot up.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
include/linux/ftrace.h
init/main.c
kernel/trace/trace.c