ftrace: Move ftrace_init() to right after memory initialization
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 3 Mar 2017 18:43:34 +0000 (13:43 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 24 Mar 2017 17:08:44 +0000 (13:08 -0400)
commitf631718de3ca24a9ae03595e937fe0b64cfaf456
tree6a4660027df5c8e20046de4085ddbc03524e9c99
parente725c731e3bb1e892e7b564c945b121cb41d1087
ftrace: Move ftrace_init() to right after memory initialization

Initialize the ftrace records immediately after memory initialization, as
that is all that is required for the records to be created. This will allow
for future work to get function tracing started earlier in the boot process.

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