summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-22 20:26:31 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-26 14:36:25 +0300
commit29e331176da121db22daa5dd9d72533b6a1efb33 (patch)
tree2b0b8e86e2f83546b82aec16ad93d78b932094ae /tools
parent39152ee51b77851689f9b23fde6f610d13566c39 (diff)
downloadlinux-29e331176da121db22daa5dd9d72533b6a1efb33.tar.xz
perf cpumap: No need to include perf.h, ditch it
From a quick look this was never needed and just polluted the build, needlessly making things including cpumap.h to be rebuild if perf.h or anything it includes gets changed. 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-x10p8slllqkn3fc3bntjx3n0@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/cpumap.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/cpumap.h b/tools/perf/util/cpumap.h
index d0c5bbfd91af..c2519e7ea958 100644
--- a/tools/perf/util/cpumap.h
+++ b/tools/perf/util/cpumap.h
@@ -7,8 +7,6 @@
#include <internal/cpumap.h>
#include <perf/cpumap.h>
-#include "perf.h"
-
struct cpu_map_data;
struct perf_cpu_map *perf_cpu_map__empty_new(int nr);