diff options
| author | Ilya Pronin <[email protected]> | 2018-03-06 06:43:53 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-03-06 13:53:52 +0000 |
| commit | 40c21898ba5372c14ef71717040529794a91ccc2 (patch) | |
| tree | c6a9ff55b2916522b8991c057dfd11fa808de06b /lib/mpi/mpi-internal.h | |
| parent | tools headers: Sync x86's cpufeatures.h (diff) | |
| download | kernel-40c21898ba5372c14ef71717040529794a91ccc2.tar.gz kernel-40c21898ba5372c14ef71717040529794a91ccc2.zip | |
perf stat: Fix CVS output format for non-supported counters
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 <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Andi Kleen <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 92a61f6412d3 ("perf stat: Implement CSV metrics output")
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
