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

From: Masami Hiramatsu (Google)
Date: Tue Jul 22 2025 - 18:01:40 EST


Hi,

This is the 3rd 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/175299249728.418723.17799706394466693180.stgit@devnote2/

This version splits the sorting #include part as the first patch and
adds Steve's reviewed-by for [5/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 | 19 +++++++++++++-
kernel/trace/trace_probe.h | 26 ++++++++++++++------
kernel/trace/trace_uprobe.c | 53 +++++++++++++++++++++++++---------------
6 files changed, 168 insertions(+), 82 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>