perf evsel: Remove needless counts.h header from util/evsel.h
A message that is not in the archive (sent off-list or not yet received): [email protected]
The following commit has been merged into the perf/core branch of tip:
Commit-ID: ddee688a83073a9beebc5c86b67c712de5861411 Gitweb: https://git.kernel.org/tip/ddee688a83073a9beebc5c86b67c712de5861411 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Wed, 21 Aug 2019 14:20:54 -03:00 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitterDate: Thu, 22 Aug 2019 17:16:57 -03:00
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 <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/util/evsel.c | 1 + tools/perf/util/evsel.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
tools/perf/util/evsel.c +1 -0
@@ -26,6 +26,7 @@#include "asm/bug.h" #include "callchain.h" #include "cgroup.h" +#include "counts.h" #include "event.h" #include "evsel.h" #include "evlist.h"
tools/perf/util/evsel.h +1 -1
@@ -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