From: Steven Rostedt <rostedt@goodmis.org>
To: Li Pengfei <ljdlns1987@gmail.com>
Cc: mhiramat@kernel.org, mathieu.desnoyers@efficios.com,
mark.rutland@arm.com, linux-trace-kernel@vger.kernel.org,
linux-kernel@vger.kernel.org, zhangbo56@xiaomi.com,
lipengfei28@xiaomi.com
Subject: Re: [RFC PATCH v4 0/3] trace: stack trace deduplication for ftrace ring buffer
Date: Fri, 10 Jul 2026 15:14:15 -0400 [thread overview]
Message-ID: <20260710151415.726a8c82@gandalf.local.home> (raw)
In-Reply-To: <20260706063154.1947674-1-lipengfei28@xiaomi.com>
On Mon, 6 Jul 2026 14:31:54 +0800
Li Pengfei <ljdlns1987@gmail.com> wrote:
> From: Pengfei Li <lipengfei28@xiaomi.com>
>
> Hi Steven, Masami,
>
> Gentle ping on this v4 series now that the 7.2 merge window has settled.
>
> I'd especially value a quick steer on the two design questions from the
> cover letter, since they shape how I respin:
>
> 1. Eager vs lazy allocation of the element pool (~8 MB at the default
> bits=14 when CONFIG_FTRACE_STACKMAP=y, whether or not userspace ever
> enables the option). Is eager allocation acceptable, or should v5
> switch to lazy allocation on the first 'echo 1 > options/stackmap'?
>
> 2. Whether to introduce the stack_map_bin binary interface now, or ship
> the text stack_map interface first and add the binary export once
> trace-cmd / libtraceevent integration is designed.
>
> Happy to respin in either direction. Full series for reference:
>
> https://lore.kernel.org/all/20260616064119.438063-1-lipengfei28@xiaomi.com/
Sorry for the late reply. I just started a new job (on 6/15) and spent the
first two weeks focused on that. I'm just catching up now.
Note, I tried out this patch set with function tracing on lock functions:
trace-cmd start -p function -O stackmap --func-stack -l '*lock*'
And wow! it grows pretty quickly
# cat /sys/kernel/tracing/stack_map | wc
326593 708742 10979376
Anyway, I do like the idea and I may even use this to help do user space
stack traces. But I will have to take a deeper dive into it, which I will
hopefully have some time next week to do so. But if not next week, perhaps
within the next month.
I just letting you know that I'm not ignoring you. I'm just a bit behind.
Thanks,
-- Steve
prev parent reply other threads:[~2026-07-10 19:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-16 6:41 [RFC PATCH v4 0/3] trace: stack trace deduplication for ftrace ring buffer Li Pengfei
2026-06-16 6:41 ` [RFC PATCH v4 1/3] trace: add lock-free stackmap for stack trace deduplication Li Pengfei
2026-06-16 6:41 ` [RFC PATCH v4 2/3] trace: integrate stackmap into ftrace stack recording path Li Pengfei
2026-06-16 6:41 ` [RFC PATCH v4 3/3] trace: add documentation, selftest and tooling for stackmap Li Pengfei
2026-07-06 6:31 ` [RFC PATCH v4 0/3] trace: stack trace deduplication for ftrace ring buffer Li Pengfei
2026-07-10 19:14 ` Steven Rostedt [this message]
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=20260710151415.726a8c82@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=lipengfei28@xiaomi.com \
--cc=ljdlns1987@gmail.com \
--cc=mark.rutland@arm.com \
--cc=mathieu.desnoyers@efficios.com \
--cc=mhiramat@kernel.org \
--cc=zhangbo56@xiaomi.com \
/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