Re: [PATCH v3 06/11] perf, tools, stat: Support JSON metrics in perf stat

From: Arnaldo Carvalho de Melo
Date: Tue Sep 05 2017 - 16:07:22 EST


Em Tue, Sep 05, 2017 at 12:52:35PM -0700, Andi Kleen escreveu:
> > > I'll check.
> >
> > Ok, I couldn't reproduce it anymore, after you check this, please let me
> > know if I should pull that perf/intel-json-metrics-2 branch so that
> > someone wanting to test this can have it all in one place, ok?
>
> Sure please pull.
>
> The only missing thing are metrics for Skylake Server, but I can
> submit those later.

Ok, so I looked at the commit logs and found them rather dull, how is
that option to fake a CPU so that the tool thinks it is running on some
specific machine (broadwell, skylake, etc) so that I can augment those
with the output of 'perf list metricgroup' for each of them?

- Arnaldo