[PATCH 0/4] tracing: Cleanup uprobe/eprobe events

From: Masami Hiramatsu (Google)
Date: Wed Aug 13 2025 - 10:30:22 EST


Hi,

This series is just for cleanup ugly gotos in uprobe/eprobe events
using __free(). Also, this allocates the traceprobe_parse_context
outside of the argument parsing loop for efficiency.

Thank you,

---

Masami Hiramatsu (Google) (4):
tracing: probes: Use __free() for trace_probe_log
tracing: eprobe: Cleanup eprobe event using __free()
tracing: uprobes: Cleanup __trace_uprobe_create() with __free()
tracing: uprobe: eprobes: Allocate traceprobe_parse_context per probe


kernel/trace/trace_eprobe.c | 108 ++++++++++++++++++-------------------------
kernel/trace/trace_probe.c | 3 +
kernel/trace/trace_probe.h | 4 +-
kernel/trace/trace_uprobe.c | 82 +++++++++++++--------------------
4 files changed, 81 insertions(+), 116 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>