aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fs/tracing_path.h
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-11-12 03:22:43 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-11-14 19:18:34 +0000
commita80e0e156ca6d7c339e314d15db2f038755da6c3 (patch)
tree6585b1674ac5d43b32ffb048752af1533b199883 /tools/lib/api/fs/tracing_path.h
parentMerge remote-tracking branch 'torvalds/master' into perf/core (diff)
downloadkernel-a80e0e156ca6d7c339e314d15db2f038755da6c3.tar.gz
kernel-a80e0e156ca6d7c339e314d15db2f038755da6c3.zip
perf stat: Fix summary output in CSV with --metric-only
It should not print "summary" for each event when --metric-only is set. Before: $ sudo perf stat -a --per-socket --summary -x, --metric-only true time,socket,cpusGhz,insn per cycle,branch-misses of all branches, 0.000709079,S0,8,0.893,2.40,0.45, S0,8, summary, summary, summary, summary, summary,0.893, summary,2.40, summary, summary,0.45, After: $ sudo perf stat -a --per-socket --summary -x, --metric-only true time,socket,cpusGHz,insn per cycle,branch-misses of all branches, 0.000882297,S0,8,0.598,1.64,0.64, summary,S0,8,0.598,1.64,0.64, Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Xing Zhengjun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.h')
0 files changed, 0 insertions, 0 deletions