summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2026-11-19 08:01:39 +0000
committerSteven Rostedt <rostedt@goodmis.org>2026-11-20 10:02:39 -0500
commit56ce4ed6316cae9536ea891d6686b92f1d930c00 (patch)
treec5c394dcb872049544db6284d14a4cf535fe5d56 /include/linux
parent39bc1fdbce1e5f435f8d02d57a9415735690bb1f (diff)
tracing: Ignore .function on the function trace event
For the function event, parse_pred() handles the .function suffix before the ftrace_event_is_function() case, so "ip.function == schedule" builds a predicate with no regex. Setting it through perf then dereferences the NULL pred->regex in ftrace_function_set_filter_pred(). The "ip" field of that event already takes a function name, so ignore the suffix there and let the function event case handle it. Cc: stable@vger.kernel.org Fixes: cfb58e278c6a ("tracing/filters: Dynamically allocate filter_pred.regex") Link: https://patch.msgid.link/20261119080139.131834-1-devnexen@gmail.com Suggested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: David Carlier <devnexen@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions