diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-21 19:20:54 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-22 22:16:57 +0200 |
commit | ddee688a83073a9beebc5c86b67c712de5861411 (patch) | |
tree | 073a98b7367bd513e84b836abb8d1af51a6c7142 /tools/perf/util/evsel.h | |
parent | perf evsel: Add missing perf/evsel.h header in util/evsel.h (diff) | |
download | linux-ddee688a83073a9beebc5c86b67c712de5861411.tar.xz linux-ddee688a83073a9beebc5c86b67c712de5861411.zip |
perf evsel: Remove needless counts.h header from util/evsel.h
We need only a struct forward declaration, so prune the header
dependency tree a bit more.
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-oqvgf04w4ku8xasrz79zquim@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/evsel.h')
-rw-r--r-- | tools/perf/util/evsel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h index da91d6f57f44..296390541030 100644 --- a/tools/perf/util/evsel.h +++ b/tools/perf/util/evsel.h @@ -11,7 +11,6 @@ #include <perf/evsel.h> #include "symbol_conf.h" #include "cpumap.h" -#include "counts.h" struct evsel; @@ -93,6 +92,7 @@ enum perf_tool_event { }; struct bpf_object; +struct perf_counts; struct xyarray; /** struct evsel - event selector |