]> asedeno.scripts.mit.edu Git - linux.git/commit
perf stat: Pass 'struct perf_stat_config' argument to local print functions
authorJiri Olsa <jolsa@kernel.org>
Thu, 30 Aug 2018 06:32:27 +0000 (08:32 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 30 Aug 2018 18:52:23 +0000 (15:52 -0300)
commitf3ca50e61ff4aebfbefc666be2e064d277ad524c
treee145124548b3fc730541e25251293a3ec5de46fa
parentb64df7f33743cd6095b4a007f5f15ff4432fbcf5
perf stat: Pass 'struct perf_stat_config' argument to local print functions

Add 'struct perf_stat_config' argument to print functions, so that those
functions can be moved out of the 'perf stat' command to a generic class
in the following patches.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180830063252.23729-19-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c