Re: Add top down metrics to perf stat

From: Andi Kleen
Date: Fri May 20 2016 - 10:18:54 EST


> [jolsa@ibm-x3650m4-01 perf]$ sudo ./perf stat --topdown -I 1000 -a
> nmi_watchdog enabled with topdown. May give wrong results.
> Disable with echo 0 > /proc/sys/kernel/nmi_watchdog
> 1.002097350 retiring bad speculation frontend bound backend bound
> 1.002097350 S0-C0 2 38.1% 0.0% 59.2% 2.7%
> 1.002097350 S0-C1 2 38.1% 0.1% 59.7% 2.1%

Ah I see now. this is --metric-only not displaying. --topdown enables
--metric-only implicitely.

I'll send a separate patch for that because metric only was already
merged separately. So it's not really a problem in this patchkit,
but in a previous one.

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.