aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-11-23 18:02:03 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-11-24 12:39:38 +0000
commite7f4da312259e61877ae8e26d216993c4128bddc (patch)
tree963b1bb470391e2a420dbdbe6388dba538cd7384 /tools/perf/util/scripting-engines/trace-event-perl.c
parentperf stat: Pass 'struct outstate' to print_metric_begin() (diff)
downloadkernel-e7f4da312259e61877ae8e26d216993c4128bddc.tar.gz
kernel-e7f4da312259e61877ae8e26d216993c4128bddc.zip
perf stat: Pass struct outstate to printout()
The printout() takes a lot of arguments and sets an outstate with the value. Instead, we can fill the outstate first and then pass it to reduce the number of arguments. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Athira Jajeev <[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-perl.c')
0 files changed, 0 insertions, 0 deletions