tracing: kprobes: Register to dynevent earlier stage
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 10 Jan 2020 16:05:42 +0000 (01:05 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 13 Jan 2020 18:19:41 +0000 (13:19 -0500)
commitd8d4c6d0e79c418f8c63f3c82429b1462f196155
tree92e927de42b4609dc47bd37c8cea59c53695cb6d
parent8cfcf15503f607e9597de19afeaa621897ae397e
tracing: kprobes: Register to dynevent earlier stage

Register kprobe event to dynevent in subsys_initcall level.
This will allow kernel to register new kprobe events in
fs_initcall level via trace_run_command.

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