]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/boot, kprobe, synth: Initialize boot-time tracing earlier
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 10 Sep 2020 12:39:17 +0000 (21:39 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 22 Sep 2020 01:06:04 +0000 (21:06 -0400)
commit6423f1e6925f71678e6285fd8ba44282e81d0ca2
tree0ee53dc044e64ea5d4a608025aaf130be718de46
parent9742dbb6ef885ab10343fe1868574faacfd2b354
tracing/boot, kprobe, synth: Initialize boot-time tracing earlier

Initialize boot-time tracing in core_initcall_sync instead of
fs_initcall, and initialize required tracers (kprobes and synth)
in core_initcall. This will allow the boot-time tracing to trace
__init code from the beginning of postcore_initcall stage.

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