diff options
author | Beau Belgrave <beaub@linux.microsoft.com> | 2021-10-01 00:38:21 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-12-11 15:34:32 +0100 |
commit | 4f67cca70c0f615e9cfe6ac42244f3416ec60877 (patch) | |
tree | 8414965bf2bf2c31156ccfd185bce6f2ee5b91e1 /kernel/trace/trace.h | |
parent | tracing: Iterate trace_[ku]probe objects directly (diff) | |
download | linux-4f67cca70c0f615e9cfe6ac42244f3416ec60877.tar.xz linux-4f67cca70c0f615e9cfe6ac42244f3416ec60877.zip |
tracing: Do not let synth_events block other dyn_event systems during create
synth_events is returning -EINVAL if the dyn_event create command does
not contain ' \t'. This prevents other systems from getting called back.
synth_events needs to return -ECANCELED in these cases when the command
is not targeting the synth_event system.
Link: https://lore.kernel.org/linux-trace-devel/20210930223821.11025-1-beaub@linux.microsoft.com
Fixes: c9e759b1e8456 ("tracing: Rework synthetic event command parsing")
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.h')
0 files changed, 0 insertions, 0 deletions