diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2021-02-03 15:59:27 +0100 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-02-09 18:44:32 +0100 |
commit | 33b1d14668859626bf96958e38042b0ed8a22a68 (patch) | |
tree | 19ac820f4fa936c4f2a1a8cb39e9b4a369b95c2b /kernel/trace/trace.h | |
parent | ftrace: Remove unused ftrace_force_update() (diff) | |
download | linux-33b1d14668859626bf96958e38042b0ed8a22a68.tar.xz linux-33b1d14668859626bf96958e38042b0ed8a22a68.zip |
kprobes: Warn if the kprobe is reregistered
Warn if the kprobe is reregistered, since there must be
a software bug (actively used resource must not be re-registered)
and caller must be fixed.
Link: https://lkml.kernel.org/r/161236436734.194052.4058506306336814476.stgit@devnote2
Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@linux.ibm.com>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.h')
0 files changed, 0 insertions, 0 deletions