aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>2025-08-16 23:10:51 +0900
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2025-08-20 23:41:58 +0900
commitec879e1a0be8007aa232ffedcf6a6445dfc1a3d7 (patch)
tree5b77ebefda966ba83a32208b343009e75e8ae29d /tools/perf/scripts/python
parentLinux 6.17-rc2 (diff)
downloadwireguard-linux-ec879e1a0be8007aa232ffedcf6a6445dfc1a3d7.tar.xz
wireguard-linux-ec879e1a0be8007aa232ffedcf6a6445dfc1a3d7.zip
tracing: fprobe-event: Sanitize wildcard for fprobe event name
Fprobe event accepts wildcards for the target functions, but unless user specifies its event name, it makes an event with the wildcards. /sys/kernel/tracing # echo 'f mutex*' >> dynamic_events /sys/kernel/tracing # cat dynamic_events f:fprobes/mutex*__entry mutex* /sys/kernel/tracing # ls events/fprobes/ enable filter mutex*__entry To fix this, replace the wildcard ('*') with an underscore. Link: https://lore.kernel.org/all/175535345114.282990.12294108192847938710.stgit@devnote2/ Fixes: 334e5519c375 ("tracing/probes: Add fprobe events for tracing function entry and exit.") Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions