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>
This commit is contained in:
Arnaldo Carvalho de Melo 2019-08-21 14:20:54 -03:00
parent 69714a4e39
commit ddee688a83
2 changed files with 2 additions and 1 deletions

View file

@ -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"

View file

@ -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