perf stat: Pass through 'struct outstate'
authorNamhyung Kim <namhyung@kernel.org>
Wed, 23 Nov 2022 18:02:05 +0000 (10:02 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Nov 2022 12:40:37 +0000 (09:40 -0300)
commit5f334d88c25e0dbdbc199ad38becc5cc5aa33081
tree0fd56e4084478ebbd8ad9951027d926e7a206ffc
parent01577597493dc8bded8a5880fbf84a6d5bf13f1b
perf stat: Pass through 'struct outstate'

Now most of the print functions take a pointer to the struct outstate.
We have one in the evlist__print_counters() and pass it through the
child functions.

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-13-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/x86/util/iostat.c
tools/perf/util/iostat.c
tools/perf/util/iostat.h
tools/perf/util/stat-display.c