Thread (6 messages) 6 messages, 1 author, 2025-01-08

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

STALE632d

From: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
Date: 2025-01-08 01:24:01
Also in: lkml

Revision v4 of 5 in this series.

Revisions (5)
  1. v2 [diff vs current]
  2. v3 [diff vs current]
  3. v4 current
  4. v5 [diff vs current]
  5. v6 [diff vs current]
Hi,

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

https://lore.kernel.org/all/173625060316.1375434.11048027439794595989.stgit@devnote2/ (local)

In this version, I updated [3/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 |  129 ++++++++++++++++++++-----------------------
 kernel/trace/trace_kprobe.c |  130 +++++++++++++++++++++----------------------
 kernel/trace/trace_probe.c  |   53 ++++++------------
 3 files changed, 143 insertions(+), 169 deletions(-)

--
Masami Hiramatsu (Google) [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help