Re: [PATCHv2 0/3] perf stat: Add --per-node option

From: Arnaldo Carvalho de Melo
Date: Tue Nov 05 2019 - 10:37:19 EST


Em Tue, Nov 05, 2019 at 02:03:54PM +0100, Jiri Olsa escreveu:
> On Wed, Sep 04, 2019 at 09:34:12AM +0200, Jiri Olsa wrote:
> > hi,
> > adding --per-node option to aggregate stats per NUMA nodes,
> > you can get now use stat command like:
> >
> > # perf stat -a -I 1000 -e cycles --per-node
> > # time node cpus counts unit events
> > 1.000542550 N0 20 6,202,097 cycles
> > 1.000542550 N1 20 639,559 cycles
> > 2.002040063 N0 20 7,412,495 cycles
> > 2.002040063 N1 20 2,185,577 cycles
> > 3.003451699 N0 20 6,508,917 cycles
> > 3.003451699 N1 20 765,607 cycles
> > ...
> >
> > v2 changes:
> > - use mallox instead of zalloc plus adding comment [Arnaldo]
> > - rename --per-numa to --per-node [Alexey]
> > - rename function names to have node instead of numa
> >
> > Available also in:
> > git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
> > perf/fixes
>
> I forgot about this one ;-) rebased the latest perf/core
> and pushed out..

Thanks, applied.

- Arnaldo