diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2019-06-20 00:07:29 +0900 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-08-31 12:19:38 -0400 |
commit | cb8e7a8d55e052fdcfd1a567305a9a180fb61c57 (patch) | |
tree | 75263cadc93c9c147e6bac37a5b2923dc49e586c /kernel/audit.c | |
parent | 60d53e2c3b75e79c83970fe73db79123d9462c7c (diff) | |
download | linux-cb8e7a8d55e052fdcfd1a567305a9a180fb61c57.tar.bz2 |
tracing/dynevent: Delete all matched events
When user gives an event name to delete, delete all
matched events instead of the first one.
This means if there are several events which have same
name but different group (subsystem) name, those are
removed if user passed only the event name, e.g.
# cat kprobe_events
p:group1/testevent _do_fork
p:group2/testevent fork_idle
# echo -:testevent >> kprobe_events
# cat kprobe_events
#
Link: http://lkml.kernel.org/r/156095684958.28024.16597826267117453638.stgit@devnote2
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/audit.c')
0 files changed, 0 insertions, 0 deletions