tracing: add missing trace_probe_log_clear for eprobes
authorPaul Cacheux <paulcacheux@gmail.com>
Sun, 4 May 2025 18:27:52 +0000 (20:27 +0200)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 9 May 2025 23:44:50 +0000 (08:44 +0900)
commite41b5af4519f90f9a751805ede2102ae36caf5d0
tree08d11fb39bf1c51405cff192d7d9f2fe9a61958b
parent9dda18a32b4a6693fccd3f7c0738af646147b1cf
tracing: add missing trace_probe_log_clear for eprobes

Make sure trace_probe_log_clear is called in the tracing
eprobe code path, matching the trace_probe_log_init call.

Link: https://lore.kernel.org/all/20250504-fix-trace-probe-log-race-v3-1-9e99fec7eddc@gmail.com/
Signed-off-by: Paul Cacheux <paulcacheux@gmail.com>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
kernel/trace/trace_eprobe.c