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)
commit36dadef23fcca55bb6531dc12822d3b165319ccc
tree69d97b81f8b102e3b330bfeeaf821e3b7c61087c
parent8f2a59968f961570fe7b9d99e3a615dd21477638
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