diff options
| author | Tom Zanussi <[email protected]> | 2020-10-13 14:17:54 +0000 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2020-10-15 16:01:13 +0000 |
| commit | 9bbb33291f8e44819aaed32d367f702303ff663e (patch) | |
| tree | 62ec2545c18e858f933b3b18eb48b4377573061c /lib/dump_stack.c | |
| parent | tracing: Move is_good_name() from trace_probe.h to trace.h (diff) | |
| download | kernel-9bbb33291f8e44819aaed32d367f702303ff663e.tar.gz kernel-9bbb33291f8e44819aaed32d367f702303ff663e.zip | |
tracing: Check that the synthetic event and field names are legal
Call the is_good_name() function used by probe events to make sure
synthetic event and field names don't contain illegal characters and
cause unexpected parsing of synthetic event commands.
Link: https://lkml.kernel.org/r/c4d4bb59d3ac39bcbd70fba0cf837d6b1cedb015.1602598160.git.zanussi@kernel.org
Fixes: 4b147936fa50 (tracing: Add support for 'synthetic' events)
Reported-by: Masami Hiramatsu <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Tested-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Tom Zanussi <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
