perf stat: Add 'struct perf_evlist' argument to perf_stat_synthesize_config()
authorJiri Olsa <jolsa@kernel.org>
Thu, 30 Aug 2018 06:32:21 +0000 (08:32 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 30 Aug 2018 18:52:22 +0000 (15:52 -0300)
commit1c21e9899d6a9ea72d4d678faa7b0ec22bcf59a9
tree4d311e5476400ebe5a0993d6ba8e2dfa874e8500
parent1821f4eb480bdd3c7c2a1863431ba539c7b0c1f8
perf stat: Add 'struct perf_evlist' argument to perf_stat_synthesize_config()

Get rid of the 'evsel_list' global variable dependency, here in
perf_stat_synthesize_config() we are adding the 'evlist' arg.

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-13-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c