diff options
author | Namhyung Kim <[email protected]> | 2024-06-27 17:06:04 -0700 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2024-06-28 10:58:09 -0700 |
commit | b195701e9f0f78f30d500ada246b3693f26e11ee (patch) | |
tree | c7dc6e846306880d92a3d0831b9356a771a9da7e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | caa463bb79a82ac5fce05a0dcf7893d94c84fc5e (diff) |
perf stat: Use field separator in the metric header
It didn't use the passed field separator (using -x option) when it
prints the metric headers and always put "," between the fields.
Before:
$ sudo ./perf stat -a -x : --per-core -M tma_core_bound --metric-only true
core,cpus,% tma_core_bound: <<<--- here: "core,cpus," but ":" expected
S0-D0-C0:2:10.5:
S0-D0-C1:2:14.8:
S0-D0-C2:2:9.9:
S0-D0-C3:2:13.2:
After:
$ sudo ./perf stat -a -x : --per-core -M tma_core_bound --metric-only true
core:cpus:% tma_core_bound:
S0-D0-C0:2:10.5:
S0-D0-C1:2:15.0:
S0-D0-C2:2:16.5:
S0-D0-C3:2:12.5:
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions