]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitba0fbfbb21cd90d51e4f6668ee8397e810818028
tree0ee53dc044e64ea5d4a608025aaf130be718de46
parent4114fbfd02f12d7a58cc4bd6fc36e0925266f9f7
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