perf stat: Move perf_stat_synthesize_config() to event.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 Sep 2019 16:17:33 +0000 (17:17 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 Sep 2019 12:19:21 +0000 (09:19 -0300)
commitb251892d6ceafa3c8f8e6835a664e248766b1b3e
treea2e86ee0f7e3cddd5dbc105335a72a4ef1fe359b
parent278306163882a3557fb2c69fd2cc632a2f9ef601
perf stat: Move perf_stat_synthesize_config() to event.h

Together with the other synthsizers, and rename it to
perf_event__synthesize_stat_events().

This allows us to stop including event.h in util/stat.h.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-q5ebhrp44txboobs86htu5r9@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c
tools/perf/util/event.h
tools/perf/util/stat.c
tools/perf/util/stat.h