[PATCH V2 1/2] tools/perf: Include global and local variants for p_stage_cyc sort key
Arnaldo Carvalho de Melo
acme at kernel.org
Fri Jan 7 07:22:17 AEDT 2022
Em Thu, Jan 06, 2022 at 04:21:05PM +0530, Athira Rajeev escreveu:
>
>
> > On 08-Dec-2021, at 9:21 AM, Nageswara Sastry <rnsastry at linux.ibm.com> wrote:
> >
> >
> >
> > On 07/12/21 8:22 pm, Arnaldo Carvalho de Melo wrote:
> >> Em Fri, Dec 03, 2021 at 07:50:37AM +0530, Athira Rajeev escreveu:
> >>> Sort key p_stage_cyc is used to present the latency
> >>> cycles spend in pipeline stages. perf tool has local
> >>> p_stage_cyc sort key to display this info. There is no
> >>> global variant available for this sort key. local variant
> >>> shows latency in a sinlge sample, whereas, global value
> >>> will be useful to present the total latency (sum of
> >>> latencies) in the hist entry. It represents latency
> >>> number multiplied by the number of samples.
> >>>
> >>> Add global (p_stage_cyc) and local variant
> >>> (local_p_stage_cyc) for this sort key. Use the
> >>> local_p_stage_cyc as default option for "mem" sort mode.
> >>> Also add this to list of dynamic sort keys and made the
> >>> "dynamic_headers" and "arch_specific_sort_keys" as static.
> >>>
> >>> Signed-off-by: Athira Rajeev <atrajeev at linux.vnet.ibm.com>
> >>> Reported-by: Namhyung Kim <namhyung at kernel.org>
> >> I got this for v1, does it stand for v2?
> >> Tested-by: Nageswara R Sastry <rnsastry at linux.ibm.com>
> >
> >
> > Tested with v2 also.
>
> Hi Arnaldo,
>
> If this patchset looks fine to you, can you please consider pulling it.
Thanks, applied to perf/core, for 5.17.
- Arnaldo
More information about the Linuxppc-dev
mailing list