[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170911140501.GF10112@kernel.org>
Date: Mon, 11 Sep 2017 11:05:01 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Andi Kleen <ak@...ux.intel.com>
Cc: Andi Kleen <andi@...stfloor.org>, jolsa@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 06/11] perf, tools, stat: Support JSON metrics in perf
stat
Em Fri, Sep 08, 2017 at 12:08:48PM -0700, Andi Kleen escreveu:
> > > PERF_CPUID=GenuineIntel-...
> > >
> > > See the mapfile.csv for valid codes
> > >
> > > But it's quite a few.
> >
> > yeah, I'm testing on the ones I have access and on a Skylake machine I'm having
> > trouble, see below.
> > [root@...enth ~]# perf stat -vv --metric-only -M Summary -a sleep 1
>
> The problem is that your kernel is missing the msr// PMU.
>
> It should work with a newer kernel.
Yes:
[root@...enth ~]# uname -r
4.12.0-rc6+
[root@...enth ~]# perf stat --metric-only -M Summary -a sleep 1
Performance counter stats for 'system wide':
Instructions CPI CLKS CPU_Utilization GFLOPs SMT_2T_Utilization Kernel_Utilization
34021097.0 0.0 119424171.0 0.0 0.0 0.0 0.0
1.001001793 seconds time elapsed
[root@...enth ~]#
> I can look at better error messages.
Please do,
Thanks!
- Arnaldo
Powered by blists - more mailing lists