aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-11-14 15:02:16 -0800
committerArnaldo Carvalho de Melo <[email protected]>2022-11-16 09:51:22 -0300
commitdf46a3c92b510b7776fed14728a271f8836ef19b (patch)
tree2572f0881abe7123e387ef583e6a892df7214616 /tools/perf/scripts/python
parentd6aeb861b1fb26f55c1b5be4b6e900ad1e734516 (diff)
perf stat: Add before_metric argument
Unfortunately, event running time, percentage and noise data are printed in different positions in normal output than CSV/JSON. I think it's better to put such details in where it actually prints. So add before_metric argument to print_noise() and print_running() and call them twice before and after the metric. Signed-off-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Athira Jajeev <[email protected]> Cc: Ian Rogers <[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/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions