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:19 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-11-16 12:51:22 +0000
commit208cbcd21bf57c80ceaf90fcec16cfdfb55a0a4d (patch)
tree1ecb1c48427a962fca6f540bc4d2b291b9ad551e /tools/perf/util/scripting-engines/trace-event-python.c
parentperf stat: Split print_metric_headers() function (diff)
downloadkernel-208cbcd21bf57c80ceaf90fcec16cfdfb55a0a4d.tar.gz
kernel-208cbcd21bf57c80ceaf90fcec16cfdfb55a0a4d.zip
perf stat: Factor out prepare_interval()
This logic does not print the time directly, but it just puts the timestamp in the buffer as a prefix. To reduce the confusion, factor out the code into a separate function. 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