diff options
| author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2026-09-08 08:22:17 +0200 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-10-15 18:23:35 -0400 |
| commit | 82c9b6a0581f6304fca15cad264a26196e1d40cb (patch) | |
| tree | 7d861e2fbbdd554e653981d140d08c88473bc8ce /include/linux/workqueue.h | |
| parent | 37a39701f69341ec4b730325a17eddf310cd805d (diff) | |
tracing: Stop modifying the input buffer in ftrace_set_clr_event()
ftrace_set_clr_event() modifies its input buffer during parsing.
Before returning to the caller these modifications are undone.
This is restoration is error prone and was forgotten before.
Upcoming changes will also make it more complicated.
Copy the input argument and modify that copy and drop the
restoration logic.
Also mark the input argument as const.
Link: https://patch.msgid.link/20260908-tracing-cli-event-filter-v2-3-05396a3fb663@linutronix.de
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
