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

From: Jiri Olsa
Date: Sat Jan 16 2016 - 15:21:30 EST


On Fri, Jan 15, 2016 at 05:11:07PM -0800, Andi Kleen wrote:

SNIP

> 1.000852081,1976560,,branch-misses,12010501884,100.00,8.32,of all branches
>
> Available in
> git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc-2.6 perf/stat-metrics-12

getting little tired of this:
http://marc.info/?l=linux-kernel&m=145076648115589&w=2


first patch in your perf/stat-metrics-12:

[jolsa@krava perf]$ ./perf stat -e instructions,cycles kill
kill: not enough arguments

Performance counter stats for 'kill':

772,743 instructions # 0.82 insn per cycle

947,484 cycles

0.002016698 seconds time elapsed


jirka