Skip to content

tracing: probes: Use heap instead of stack for temporary buffers

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

Get series with b4
b4 am 175323423662.57270.14650807176845939538.stgit@devnote2

Versions newest first · linked by author and title

  1. v4 Latest7 patches 3 repliesIn review
  2. v37 patches 6 repliesSuperseded
  3. v26 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v15 patches11 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7tracing: probes: Sort #include alphabeticallykernel/trace/trace_eprobe.c kernel/trace/trace_fprobe.c kernel/trace/trace_kprobe.c +3 more+24 -220 replies
2/7tracing: probe: Allocate traceprobe_parse_context from heapkernel/trace/trace_eprobe.c kernel/trace/trace_fprobe.c kernel/trace/trace_kprobe.c +2 more+40 -192 replies
3/7tracing: fprobe-event: Allocate string buffers from heapkernel/trace/trace_fprobe.c+26 -130 replies
4/7tracing: kprobe-event: Allocate string buffers from heapkernel/trace/trace_kprobe.c+25 -140 replies
5/7tracing: eprobe-event: Allocate string buffers from heapkernel/trace/trace_eprobe.c+18 -40 replies
6/7tracing: uprobe-event: Allocate string buffers from heapkernel/trace/trace_uprobe.c+19 -90 replies
7/7tracing: probes: Add a kerneldoc for traceprobe_parse_event_name()kernel/trace/trace_probe.c+19 -12 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

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

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

Read the v4 thread

Cover letter [PATCH v4 0/7] tracing: probes: Use heap instead of stack for temporary buffers

Hi,

This is the 4th version of the series of cleanup patches which allocate temporary buffers and objects on heap (slab) instead of the stack. The previous version is here;

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

This version fixes kernel-doc stlye and moves longer description of parameters to Return section in [7/7] and adds Steve's reviewed-by for [2/7],[3/7] and [6/7].

Thank you,
---

Masami Hiramatsu (Google) (7):
tracing: probes: Sort #include alphabetically
tracing: probe: Allocate traceprobe_parse_context from heap
tracing: fprobe-event: Allocate string buffers from heap
tracing: kprobe-event: Allocate string buffers from heap
tracing: eprobe-event: Allocate string buffers from heap
tracing: uprobe-event: Allocate string buffers from heap
tracing: probes: Add a kerneldoc for traceprobe_parse_event_name()

 kernel/trace/trace_eprobe.c |   40 +++++++++++++++++++++---------
 kernel/trace/trace_fprobe.c |   55 +++++++++++++++++++++++++++--------------
 kernel/trace/trace_kprobe.c |   57 +++++++++++++++++++++++++++----------------
 kernel/trace/trace_probe.c  |   22 +++++++++++++++--
 kernel/trace/trace_probe.h  |   26 ++++++++++++++------
 kernel/trace/trace_uprobe.c |   53 +++++++++++++++++++++++++---------------
 6 files changed, 171 insertions(+), 82 deletions(-)

--
Masami Hiramatsu (Google) <[email protected]>