diff options
| author | Namhyung Kim <[email protected]> | 2022-11-23 18:02:03 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-11-24 12:39:38 +0000 |
| commit | e7f4da312259e61877ae8e26d216993c4128bddc (patch) | |
| tree | 963b1bb470391e2a420dbdbe6388dba538cd7384 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf stat: Pass 'struct outstate' to print_metric_begin() (diff) | |
| download | kernel-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
