Re: [PATCH 4/9] perf, tools, stat: Implement CSV metrics output

From: Jiri Olsa
Date: Fri Jan 22 2016 - 04:57:39 EST


On Tue, Jan 19, 2016 at 06:26:47PM -0800, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Now support CSV output for metrics. With the new output callbacks
> this is relatively straight forward by creating new callbacks.
>
> The new line callback needs to know the number of fields to skip them
> correctly

could you please provide some output example into changelog?
with fields described..

I've got:

$ perf stat -e cycles,instructions -a -x,
^C154179453,,cycles,3358275330,100.00,,Ghz,3358275330,100.00
37699562,,instructions,3358350427,100.00,0.24,insn per cycle
,,,3358350427,100.00,,stalled cycles per insn,3358350427,100.00

and it seems this is extra -------------------^^^^^^^^^^^^^^^^^

thanks,
jirka