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

2020-10-31 Thread Jiri Olsa
On Tue, Oct 27, 2020 at 10:15:10PM -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, > 1.000838672,4003.55,msec

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

2020-10-28 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,, 1.000838672,11243,,context-switches,