aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-11-14 23:02:16 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-11-16 12:51:22 +0000
commitdf46a3c92b510b7776fed14728a271f8836ef19b (patch)
tree2572f0881abe7123e387ef583e6a892df7214616 /tools/perf/util/scripting-engines/trace-event-python.c
parentperf stat: Handle bad events in abs_printout() (diff)
downloadkernel-df46a3c92b510b7776fed14728a271f8836ef19b.tar.gz
kernel-df46a3c92b510b7776fed14728a271f8836ef19b.zip
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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions