]> 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)
commit3700588c00c2cce23c604814c46858c2021802b1
tree0ee53dc044e64ea5d4a608025aaf130be718de46
parent53e27388cef5be2fbbc67fc0ebb8db0dc962243c
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