]> git.baikalelectronics.ru Git - kernel.git/commit
kprobes: Init kprobes in early_initcall
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 10 Sep 2020 12:38:39 +0000 (21:38 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 22 Sep 2020 01:06:04 +0000 (21:06 -0400)
commit8f804e0f5bdd36a4a328f49cacae45f5a0072929
tree69d97b81f8b102e3b330bfeeaf821e3b7c61087c
parent0c4b619d963abdf39c5e646ad4a24e5542367f90
kprobes: Init kprobes in early_initcall

Init kprobes feature in early_initcall as same as jump_label and
dynamic_debug does, so that we can use kprobes events in earlier
boot stage.

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