Some bug fixes for perf stat metrics

From: Andi Kleen
Date: Mon Jun 24 2019 - 15:37:37 EST


Fix some bugs and regressions in perf stat --metrics support.

Also available in

git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc perf/metric-fixes-1