]> Git Repo - linux.git/commit
tracing/probe: Fix same probe event argument matching
authorSrikar Dronamraju <[email protected]>
Tue, 24 Sep 2019 11:49:06 +0000 (17:19 +0530)
committerSteven Rostedt (VMware) <[email protected]>
Wed, 25 Sep 2019 10:34:06 +0000 (06:34 -0400)
commitf8d7ab2bded897607bff6324d5c6ea6b4aecca0c
treed27ac482c5341b615ac3d83ffe03c4830baf389e
parentb78b94b82122208902c0f83805e614e1239f9893
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/[email protected]
Fixes: fe60b0ce8e73 ("tracing/probe: Reject exactly same probe event")
Acked-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Srikar Dronamraju <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
kernel/trace/trace_kprobe.c
kernel/trace/trace_uprobe.c
This page took 0.072376 seconds and 4 git commands to generate.