Re: [PATCH v2] perf list: Display hybrid pmu events with cpu type

From: Arnaldo Carvalho de Melo
Date: Tue Oct 19 2021 - 17:14:30 EST


Em Fri, Sep 03, 2021 at 10:52:39AM +0800, Jin Yao escreveu:
> Add a new option '--cputype' to perf-list to display core-only pmu events
> or atom-only pmu events.
>
> Each hybrid pmu event has been assigned with a pmu name, this patch
> compares the pmu name before listing the result.
>
> For example,
>
> perf list --cputype atom
> ...
> cache:
> core_reject_l2q.any
> [Counts the number of request that were not accepted into the L2Q because the L2Q is FULL. Unit: cpu_atom]
> ...
>
> The "Unit: cpu_atom" is displayed in the brief description section
> to indicate this is an atom event.

Thanks, applied.

- Arnaldo