Ilya Pronin
b69902a420
perf stat: Fix CVS output format for non-supported counters
...
commit 40c21898ba upstream.
When printing stats in CSV mode, 'perf stat' appends extra separators
when a counter is not supported:
<not supported>,,L1-dcache-store-misses,mesos/bd442f34-2b4a-47df-b966-9b281f9f56fc,0,100.00,,,,
Which causes a failure when parsing fields. The numbers of separators
should be the same for each line, no matter if the counter is or not
supported.
Signed-off-by: Ilya Pronin <ipronin@twitter.com >
Acked-by: Jiri Olsa <jolsa@redhat.com >
Cc: Andi Kleen <ak@linux.intel.com >
Link: http://lkml.kernel.org/r/20180306064353.31930-1-xiyou.wangcong@gmail.com
Fixes: 92a61f6412 ("perf stat: Implement CSV metrics output")
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com >
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-03-28 18:24:48 +02:00
..
2018-03-19 08:42:52 +01:00
2018-02-25 11:07:55 +01:00
2017-10-17 09:05:36 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-25 11:07:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-19 08:42:52 +01:00
2017-03-13 10:59:36 -03:00
2017-07-18 23:13:52 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-10 13:40:43 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-07-20 15:46:10 -03:00
2018-02-25 11:07:54 +01:00
2017-11-02 11:10:55 +01:00
2017-04-19 13:01:46 -03:00
2018-02-22 15:42:23 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-10 13:40:43 +01:00
2017-07-18 23:14:11 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-28 18:24:48 +02:00
2017-12-10 13:40:43 +01:00
2018-02-25 11:07:55 +01:00
2017-12-10 13:40:43 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-03-13 10:59:31 -03:00
2017-11-02 11:10:55 +01:00
2017-08-28 16:44:46 -03:00
2017-08-28 16:44:47 -03:00
2017-09-25 10:39:43 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2015-08-06 16:48:27 -03:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00