perf metricgroup: Remove needless includes from metricgroup.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Aug 2019 13:54:14 +0000 (10:54 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 22 Aug 2019 20:16:56 +0000 (17:16 -0300)
commit0b8026e8fb0ea3893caa2f1924a2c15fcf6760b3
tree7631068a0656746c007fd5b9c37d5db0a9a2cf7c
parente740ca86f354038f55978c8ac7bec69b57f0c8e0
perf metricgroup: Remove needless includes from metricgroup.h

There we need just some struct forward declarations, do that instead and
add the includes needed by metricgroup.c.

That should help with needless rebuilds when changing the removed
headers from metricgroup.h.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-1fkskjws6imir2hhztqhdyb0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/metricgroup.c
tools/perf/util/metricgroup.h