summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2022-11-23 21:02:03 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-11-24 15:39:38 +0300
commite7f4da312259e61877ae8e26d216993c4128bddc (patch)
tree963b1bb470391e2a420dbdbe6388dba538cd7384 /tools/perf/util/scripting-engines/trace-event-python.c
parent922ae948c429a9b396761f2071eebf6a19688dd2 (diff)
downloadlinux-e7f4da312259e61877ae8e26d216993c4128bddc.tar.xz
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 <namhyung@kernel.org> Acked-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: James Clark <james.clark@arm.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com> Link: https://lore.kernel.org/r/20221123180208.2068936-11-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions