Re: [PATCH 1/3] perf sort: Keep output fields in the same level
From: Namhyung Kim
Date: Fri Mar 21 2025 - 14:30:13 EST
On Fri, 07 Mar 2025 00:08:27 -0800, Namhyung Kim wrote:
> This is useful for hierarchy output mode where the first level is
> considered as output fields. We want them in the same level so that it
> can show only the remaining groups in the hierarchy.
>
> Before:
> $ perf report -s overhead,sample,period,comm,dso -H --stdio
> ...
> # Overhead Samples / Period / Command / Shared Object
> # ................. ..........................................
> #
> 100.00% 4035
> 100.00% 3835883066
> 100.00% perf
> 99.37% perf
> 0.50% ld-linux-x86-64.so.2
> 0.06% [unknown]
> 0.04% libc.so.6
> 0.02% libLLVM-16.so.1
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung