summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_preemptirq.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2018-08-28 19:18:15 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-10-11 05:19:12 +0300
commit59158ec4aef7d44be51a6f3e7e17fc64c32604eb (patch)
treec1fd1181cda8d4b5b7a5856922ea7f54ed14bd13 /kernel/trace/trace_preemptirq.c
parentf3f58935edbcb33fd529fc46d554162a0660fd2d (diff)
downloadlinux-59158ec4aef7d44be51a6f3e7e17fc64c32604eb.tar.xz
tracing/kprobes: Check the probe on unloaded module correctly
Current kprobe event doesn't checks correctly whether the given event is on unloaded module or not. It just checks the event has ":" in the name. That is not enough because if we define a probe on non-exist symbol on loaded module, it allows to define that (with warning message) To ensure it correctly, this searches the module name on loaded module list and only if there is not, it allows to define it. (this event will be available when the target module is loaded) Link: http://lkml.kernel.org/r/153547309528.26502.8300278470528281328.stgit@devbox Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_preemptirq.c')
0 files changed, 0 insertions, 0 deletions