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

From: Arnaldo Carvalho de Melo
Date: Mon Sep 04 2017 - 13:11:39 EST


Em Thu, Aug 31, 2017 at 12:40:31PM -0700, Andi Kleen escreveu:
> The actual JSON metrics are in a separate pull request.

Yeah, I noticed when trying to test it :-\

Was this pull req submitted?

- Arnaldo

> % perf stat -M Summary --metric-only -a sleep 1

[root@jouet ~]# perf stat -M Summary --metric-only -a sleep 1
Cannot find metric or group `Summary'

Usage: perf stat [<options>] [<command>]

-M, --metrics <metric/metric group list>
monitor specified metrics or metric groups (separated by ,)
[root@jouet ~]# perf stat -M GFLOPs flops
Cannot find metric or group `GFLOPs'

Usage: perf stat [<options>] [<command>]

-M, --metrics <metric/metric group list>
monitor specified metrics or metric groups (separated by ,)
[root@jouet ~]#