Re: [PATCH] perf stat: Show percore counts in per CPU output

From: Jiri Olsa
Date: Mon Feb 10 2020 - 16:04:42 EST


On Mon, Feb 10, 2020 at 09:01:59AM -0800, Andi Kleen wrote:
> > > With --percore-show-thread, CPU0 and CPU4 have the same counts (CPU0 and
> > > CPU4 are siblings, e.g. 2,453,061 in my example). The value is sum of CPU0 +
> > > CPU4.
> >
> > so it shows percore stats but displays all the cpus? what is this good for?
>
> This is essentially a replacement for the any bit (which is gone in Icelake).
> Per core counts are useful for some formulas, e.g. CoreIPC
>
> The original percore version was inconvenient to post process. This
> variant matches the output of the any bit.

I see, please put this to the changelog/doc

thanks,
jirka