Re: [RFC PATCH v2 0/3] trace: stack trace deduplication for ftrace ring buffer

From: Google

Date: Mon May 25 2026 - 03:01:30 EST


Hi Pengfei,

On Fri, 22 May 2026 18:40:14 +0800
Li Pengfei <ljdlns1987@xxxxxxxxx> wrote:

> From: Pengfei Li <lipengfei28@xxxxxxxxxx>
>
> Hi Steven, all,
>
> This is v2 of the ftrace stackmap series. It addresses the Sashiko
> review at [1] and incorporates the kernel test robot's toctree fix.
>
> The series adds stack trace deduplication to ftrace. When the
> stacktrace option is enabled, the ring buffer stores a 4-byte
> stack_id instead of a full kernel stack trace, while the full
> stacks are exported via tracefs.

Sashiko still made some comments on the series. Please review it.

https://sashiko.dev/#/patchset/20260522104017.1668638-1-lipengfei28%40xiaomi.com

And reply to the comment on this thread, so that we can discuss it
here.

Thanks,



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