Skip to content

tracing/probes: Cleanup with guard and __free for kprobe and fprobe

Masami Hiramatsu (Google) linux-trace-kernel lkml 7 versions – In review

Get series with b4
b4 am 173643296599.1514810.1580554610685712071.stgit@devnote2

Versions newest first · linked by author and title

  1. v6 Latest5 patches 5 repliesIn review
  2. v55 patches 7 repliesSuperseded
  3. v45 patches 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v35 patches7 repliesSuperseded
v2 posting 2/27 patches1 replySuperseded
v2 posting 1/26 patches8 repliesApplied
v16 patches4 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tracing/kprobes: Fix to free objects when failed to copy a symbolkernel/trace/trace_kprobe.c+4 -20 replies
2/5tracing: Use __free() in trace_probe for cleanupkernel/trace/trace_probe.c+17 -340 replies
3/5tracing: Use __free() for kprobe events to cleanupkernel/trace/trace_kprobe.c+29 -330 replies
4/5tracing/kprobes: Simplify __trace_kprobe_create() by removing gotoskernel/trace/trace_kprobe.c+49 -481 reply
5/5tracing: Adopt __free() and guard() for trace_fprobe.ckernel/trace/trace_fprobe.c+61 -694 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchSteven Rostedt (Google)
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

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

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) <[email protected]>