tracing: Enable creating new instance early boot
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 10 Sep 2020 12:39:07 +0000 (21:39 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 22 Sep 2020 01:06:04 +0000 (21:06 -0400)
commit4114fbfd02f12d7a58cc4bd6fc36e0925266f9f7
treef06b5a81e01aacecff5b8bd171343fca59e34a80
parenta838deab4e635994476bfc5b254bdf461e168752
tracing: Enable creating new instance early boot

Enable creating new trace_array instance in early boot stage.
If the instances directory is not created, postpone it until
the tracefs is initialized.

Link: https://lkml.kernel.org/r/159974154763.478751.6289753509587233103.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_functions.c