summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2026-09-08 08:22:15 +0200
committerSteven Rostedt <rostedt@goodmis.org>2026-09-11 14:01:46 -0400
commit911002e99e15f640f1fdc6d276206beaef59e790 (patch)
treec0b5bf1b5038b529e8252af8cd36f7a400a6a074 /scripts/basic
parent7f711e62355bb3123a2ca2f97a2facbfebc678c6 (diff)
downloadlinux-911002e99e15f640f1fdc6d276206beaef59e790.tar.gz
linux-911002e99e15f640f1fdc6d276206beaef59e790.zip
tracing: Restore :mod: trailer after parsing in ftrace_set_clr_event()
While ftrace_set_clr_event() modifies its input buffer during parsing, before returning to the caller the buffer is supposed to be restored to its original state. This works correctly for the colon between the subsystem and event but not the colon at the beginning of :mod:. Restore the colon, so the :mod: trailer is not stripped after ftrace_set_clr_event(). Cc: stable@vger.kernel.org Fixes: 4c86bc531e60 ("tracing: Add :mod: command to enabled module events") Link: https://patch.msgid.link/20260908-tracing-cli-event-filter-v2-1-05396a3fb663@linutronix.de Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions