aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/arch/x86
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 10:48:31 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 17:16:57 -0300
commit5e51b0bb245d963f5ce750256c504be95201e38c (patch)
treebc8288220aa4a17951429ce2ae39577c43a9a0d4 /tools/perf/arch/x86
parentperf evsel: Switch to libperf's cpumap.h (diff)
downloadlinux-dev-5e51b0bb245d963f5ce750256c504be95201e38c.tar.xz
linux-dev-5e51b0bb245d963f5ce750256c504be95201e38c.zip
perf cpumap: Remove needless includes from cpumap.h
The util/cpumap.h file doesn't use anything in refcount.h not in debug.h, it needs just a forward reference to 'struct cpu_map_data', that is defined in util/event.h and cpumap.h was getting indirectly via, of all things, debug.h 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-mtjww98yptt4ppo6g2blavg5@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/arch/x86')
-rw-r--r--tools/perf/arch/x86/util/header.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/x86/util/header.c b/tools/perf/arch/x86/util/header.c
index af9a9f2600be..662ecf84a421 100644
--- a/tools/perf/arch/x86/util/header.c
+++ b/tools/perf/arch/x86/util/header.c
@@ -6,6 +6,7 @@
#include <string.h>
#include <regex.h>
+#include "../../util/debug.h"
#include "../../util/header.h"
static inline void