diff options
author | sunliming <sunliming@kylinos.cn> | 2023-05-29 14:51:10 +0800 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-06-14 12:41:52 -0400 |
commit | cfac4ed7279d056df6167bd665e460787dc9e0c4 (patch) | |
tree | 964993a76059a21dde956cf25280732d8e35d002 /kernel/trace/trace_output.c | |
parent | ba470eebc2f6c2f704872955a715b9555328e7d0 (diff) | |
download | linux-cfac4ed7279d056df6167bd665e460787dc9e0c4.tar.gz linux-cfac4ed7279d056df6167bd665e460787dc9e0c4.tar.bz2 linux-cfac4ed7279d056df6167bd665e460787dc9e0c4.zip |
tracing/user_events: Handle matching arguments that is null from dyn_events
When A registering user event from dyn_events has no argments, it will pass the
matching check, regardless of whether there is a user event with the same name
and arguments. Add the matching check when the arguments of registering user
event is null.
Link: https://lore.kernel.org/linux-trace-kernel/20230529065110.303440-1-sunliming@kylinos.cn
Signed-off-by: sunliming <sunliming@kylinos.cn>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_output.c')
0 files changed, 0 insertions, 0 deletions