perf stat: Add --metric-only support for -A
authorAndi Kleen <ak@linux.intel.com>
Thu, 3 Mar 2016 23:57:37 +0000 (15:57 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 10 Mar 2016 19:50:47 +0000 (16:50 -0300)
commit206cab651d07563d766c7f4cb73f858c5df3dec5
treeab682f7130a4ad1ce0d4fcb0f77f91db391bf34a
parent54b5091606c18f68a7fc8b4ab03ac4592c7d2922
perf stat: Add --metric-only support for -A

Add metric only support for -A too. This requires a new print function
that prints the metrics in the right order.

v2: Fix manpage
v3: Simplify nrcpus computation

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/1457049458-28956-7-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-stat.txt
tools/perf/builtin-stat.c