tracing/boot: Initialize per-instance event list in early boot
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 24 Sep 2020 16:40:08 +0000 (01:40 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 25 Sep 2020 19:36:03 +0000 (15:36 -0400)
commit720dee53ad8dfd528941fbbc264574601b04488a
tree962f0ceeb9f7d09ca5d609acec69388431312946
parentfd264ce96c382bc2e36eb1f49ac45c5980650244
tracing/boot: Initialize per-instance event list in early boot

Initialize per-instance event list in early boot time (before
initializing instance directory on tracefs). This fixes boot-time
tracing to correctly handle the boot-time per-instance settings.

Link: https://lkml.kernel.org/r/160096560826.182763.17110991546046128881.stgit@devnote2
Fixes: 4114fbfd02f1 ("tracing: Enable creating new instance early boot")
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_events.c