Re: perf, tools: Refactor and support interval and CSV metrics

From: Jiri Olsa
Date: Mon Mar 07 2016 - 05:08:55 EST


On Thu, Mar 03, 2016 at 03:57:31PM -0800, Andi Kleen wrote:

SNIP

>
> % perf stat -x, --metric-only -a -I 1000
> 1.001381652,frontend cycles idle,insn per cycle,stalled cycles per insn,branch-misses of all branches,
> 1.001381652,173.32,0.83,2.09,1.73,
> 2.002073343,199.47,1.07,1.60,2.14,
> 3.002875524,109.52,0.22,7.83,1.63,
> 4.003970059,132.10,0.17,10.85,1.51,
> 5.004818754,181.60,0.22,8.87,2.22,
>
>
> Available in
> git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc-2.6 perf/stat-metrics-21

this branch contains old version of:
perf, tools, stat: Add --metric-only support for -A

thanks,
jirka