Re: [PATCH 2/2] perf tools: Support -x for perf stat report

2020-10-27 Thread Jiri Olsa
On Mon, Oct 26, 2020 at 05:27:37PM -0700, Andi Kleen wrote: > Add support for the -x, option to enable CSV output with perf stat > report. Useful to parse the information with other programs. > > % perf stat record --quiet -a -I 1000 sleep 5 > % perf stat report -x, >

[PATCH 2/2] perf tools: Support -x for perf stat report

2020-10-26 Thread Andi Kleen
Add support for the -x, option to enable CSV output with perf stat report. Useful to parse the information with other programs. % perf stat record --quiet -a -I 1000 sleep 5 % perf stat report -x, 1.000838672,4003.55,msec,cpu-clock,4003548736,100.00,,