diff options
author | Srikar Dronamraju <srikar@linux.vnet.ibm.com> | 2019-09-24 13:49:06 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-09-25 12:34:06 +0200 |
commit | f8d7ab2bded897607bff6324d5c6ea6b4aecca0c (patch) | |
tree | d27ac482c5341b615ac3d83ffe03c4830baf389e /include/net/scm.h | |
parent | selftests/ftrace: Update kprobe event error testcase (diff) | |
download | linux-f8d7ab2bded897607bff6324d5c6ea6b4aecca0c.tar.xz linux-f8d7ab2bded897607bff6324d5c6ea6b4aecca0c.zip |
tracing/probe: Fix same probe event argument matching
Commit fe60b0ce8e73 ("tracing/probe: Reject exactly same probe event")
tries to reject a event which matches an already existing probe.
However it currently continues to match arguments and rejects adding a
probe even when the arguments don't match. Fix this by only rejecting a
probe if and only if all the arguments match.
Link: http://lkml.kernel.org/r/20190924114906.14038-1-srikar@linux.vnet.ibm.com
Fixes: fe60b0ce8e73 ("tracing/probe: Reject exactly same probe event")
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/net/scm.h')
0 files changed, 0 insertions, 0 deletions