public inbox for linux-trace-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
To: Steven Rostedt <rostedt@goodmis.org>,
	Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org
Subject: [PATCH v2 0/6] tracing: probes: Use heap instead of stack for temporary buffers
Date: Sun, 20 Jul 2025 15:21:37 +0900	[thread overview]
Message-ID: <175299249728.418723.17799706394466693180.stgit@devnote2> (raw)

Hi,

This is the 2nd 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/175283843771.343578.8524137568048302760.stgit@devnote2/

This version updated patches according to the comment, also sorts the
#include alphabetically. Also add a kerneldoc for
traceprobe_parse_event_name().

---

Masami Hiramatsu (Google) (6):
      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 |   52 ++++++++++++++++++++++++++++--------------
 kernel/trace/trace_kprobe.c |   49 ++++++++++++++++++++++++++--------------
 kernel/trace/trace_probe.c  |   17 +++++++++++++-
 kernel/trace/trace_probe.h  |   26 +++++++++++++++------
 kernel/trace/trace_uprobe.c |   53 +++++++++++++++++++++++++++----------------
 6 files changed, 161 insertions(+), 76 deletions(-)

--
Masami Hiramatsu (Google) <mhiramat@kernel.org>

             reply	other threads:[~2025-07-20  6:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-20  6:21 Masami Hiramatsu (Google) [this message]
2025-07-20  6:21 ` [PATCH v2 1/6] tracing: probe: Allocate traceprobe_parse_context from heap Masami Hiramatsu (Google)
2025-07-21 17:19   ` Steven Rostedt
2025-07-21 22:35     ` Masami Hiramatsu
2025-07-20  6:21 ` [PATCH v2 2/6] tracing: fprobe-event: Allocate string buffers " Masami Hiramatsu (Google)
2025-07-20  6:22 ` [PATCH v2 3/6] tracing: kprobe-event: " Masami Hiramatsu (Google)
2025-07-20  6:22 ` [PATCH v2 4/6] tracing: eprobe-event: " Masami Hiramatsu (Google)
2025-07-21 17:23   ` Steven Rostedt
2025-07-20  6:22 ` [PATCH v2 5/6] tracing: uprobe-event: " Masami Hiramatsu (Google)
2025-07-20  6:22 ` [PATCH v2 6/6] tracing: probes: Add a kerneldoc for traceprobe_parse_event_name() Masami Hiramatsu (Google)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=175299249728.418723.17799706394466693180.stgit@devnote2 \
    --to=mhiramat@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox