Skip to content

tracing: Cleanup uprobe/eprobe events

Masami Hiramatsu (Google) linux-trace-kernel lkml 1 version New

Get series with b4
b4 am 175509537667.193596.9139462012987606126.stgit@devnote2

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tracing: probes: Use __free() for trace_probe_logkernel/trace/trace_eprobe.c kernel/trace/trace_probe.c kernel/trace/trace_probe.h +1 more+9 -90 replies
2/4tracing: eprobe: Cleanup eprobe event using __free()kernel/trace/trace_eprobe.c+30 -410 replies
3/4tracing: uprobes: Cleanup __trace_uprobe_create() with __free()kernel/trace/trace_uprobe.c+26 -420 replies
4/4tracing: uprobe: eprobes: Allocate traceprobe_parse_context per probekernel/trace/trace_eprobe.c kernel/trace/trace_uprobe.c+18 -260 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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