summaryrefslogtreecommitdiff
path: root/tools/perf/util/pmu.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-01-29 14:24:52 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-02-06 16:00:38 +0300
commiteb563d6604b0f21396e21ac73619c9a5e8ec5aee (patch)
tree470a8c7c81c2e0e0ffd1434d034f4f00b81fc432 /tools/perf/util/pmu.h
parente9dacd63a1857b8d72c6f2b231868e0246eee391 (diff)
downloadlinux-eb563d6604b0f21396e21ac73619c9a5e8ec5aee.tar.xz
perf pmu: Remove needless evsel.h include, only needs one fwd decl
To reduce the header dependency tree. 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-rc389o1z0htwukqv6ni1viun@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/pmu.h')
-rw-r--r--tools/perf/util/pmu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/pmu.h b/tools/perf/util/pmu.h
index 76fecec7b3f9..ffed23fb920a 100644
--- a/tools/perf/util/pmu.h
+++ b/tools/perf/util/pmu.h
@@ -6,9 +6,10 @@
#include <linux/compiler.h>
#include <linux/perf_event.h>
#include <stdbool.h>
-#include "evsel.h"
#include "parse-events.h"
+struct perf_evsel_config_term;
+
enum {
PERF_PMU_FORMAT_VALUE_CONFIG,
PERF_PMU_FORMAT_VALUE_CONFIG1,