diff options
author | guoweikang <[email protected]> | 2024-11-20 13:27:49 +0800 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-11-20 11:15:29 -0500 |
commit | 45af52e7d3b8560f21d139b3759735eead8b1653 (patch) | |
tree | b347f6e7d946b1827a427ff0bc8fc4e5136975d1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6ce5a6f0a07d37cc377df08a8d8a9c283420f323 (diff) |
ftrace: Fix regression with module command in stack_trace_filter
When executing the following command:
# echo "write*:mod:ext3" > /sys/kernel/tracing/stack_trace_filter
The current mod command causes a null pointer dereference. While commit
0f17976568b3f ("ftrace: Fix regression with module command in stack_trace_filter")
has addressed part of the issue, it left a corner case unhandled, which still
results in a kernel crash.
Cc: [email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Link: https://lore.kernel.org/[email protected]
Fixes: 04ec7bb642b77 ("tracing: Have the trace_array hold the list of registered func probes");
Signed-off-by: guoweikang <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions