mbox series

[v6,0/5] tracing/probes: Cleanup with guard and __free for kprobe and fprobe

Message ID 173643296599.1514810.1580554610685712071.stgit@devnote2 (mailing list archive)
Headers show
Series tracing/probes: Cleanup with guard and __free for kprobe and fprobe | expand

Message

Masami Hiramatsu (Google) Jan. 9, 2025, 2:29 p.m. UTC
Hi,

Here is the 6th version of the series to fix and cleanup probe events in
ftrace with __free(). The previous series is here;

https://lore.kernel.org/all/173630223453.1453474.6442447279377996686.stgit@devnote2/

In this version, I updated [4/5] and [5/5] according to the comment from Steve.

Thanks,

---

Masami Hiramatsu (Google) (5):
      tracing/kprobes: Fix to free objects when failed to copy a symbol
      tracing: Use __free() in trace_probe for cleanup
      tracing: Use __free() for kprobe events to cleanup
      tracing/kprobes: Simplify __trace_kprobe_create() by removing gotos
      tracing: Adopt __free() and guard() for trace_fprobe.c


 kernel/trace/trace_fprobe.c |  130 ++++++++++++++++++++-----------------------
 kernel/trace/trace_kprobe.c |  131 +++++++++++++++++++++----------------------
 kernel/trace/trace_probe.c  |   51 ++++++-----------
 3 files changed, 143 insertions(+), 169 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@kernel.org>