Ilya Pronin
a8b3a6a4ae
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:39:24 +02:00
..
2018-01-23 19:57:07 +01:00
2018-02-25 11:05:46 +01:00
2016-10-05 19:51:53 -03:00
2016-10-17 11:25:34 -03:00
2018-01-23 19:57:07 +01:00
2016-07-12 16:23:35 -03:00
2016-08-04 11:02:38 +02:00
2018-03-24 11:00:22 +01:00
2017-01-26 08:24:36 +01:00
2017-07-27 15:08:06 -07:00
2018-03-22 09:17:53 +01:00
2016-05-30 12:41:46 -03:00
2016-01-12 12:42:07 -03:00
2016-09-08 13:44:03 -03:00
2015-12-17 14:27:14 -03:00
2016-07-12 15:19:47 -03:00
2015-12-17 14:27:14 -03:00
2016-06-23 17:23:00 -03:00
2016-06-28 10:54:57 -03:00
2017-02-14 15:25:42 -08:00
2016-06-23 11:26:15 -03:00
2016-07-12 15:19:47 -03:00
2016-09-05 11:14:50 -03:00
2016-09-05 11:14:50 -03:00
2016-08-23 15:37:33 -03:00
2016-10-03 21:35:47 -03:00
2015-12-17 14:27:14 -03:00
2017-01-26 08:24:35 +01:00
2018-03-22 09:17:40 +01:00
2016-09-29 11:17:02 -03:00
2016-09-13 16:43:41 -03:00
2016-08-23 15:37:33 -03:00
2016-09-05 11:14:50 -03:00
2018-03-28 18:39:24 +02:00
2016-08-23 15:37:33 -03:00
2018-02-25 11:05:46 +01:00
2018-03-22 09:17:44 +01:00
2015-12-09 13:42:03 -03:00
2016-03-23 15:06:35 -03:00
2016-01-08 12:46:17 -03:00
2009-06-24 19:54:29 +02:00
2014-03-18 18:17:06 -03:00
2016-02-04 15:57:00 -03:00
2018-01-23 19:57:07 +01:00
2018-01-23 19:57:07 +01:00
2016-09-13 15:26:08 -03:00
2012-09-17 13:10:42 -03:00
2015-03-19 13:53:27 -03:00
2014-10-29 10:32:48 -02:00
2016-09-08 13:44:07 -03:00
2015-08-06 16:48:27 -03:00
2016-07-15 10:08:29 -03:00
2016-08-23 15:37:33 -03:00