[tip:,perf/core] perf cpumap: No need to include perf.h, ditch it
diff mbox series

Message ID 156689436858.24464.4817200125392462890.tip-bot2@tip-bot2
State Accepted
Commit 29e331176da121db22daa5dd9d72533b6a1efb33
Headers show
  • [tip:,perf/core] perf cpumap: No need to include perf.h, ditch it
Related show

Commit Message

tip-bot2 for Thomas Gleixner Aug. 27, 2019, 8:26 a.m. UTC
The following commit has been merged into the perf/core branch of tip:

Commit-ID:     29e331176da121db22daa5dd9d72533b6a1efb33
Gitweb:        https://git.kernel.org/tip/29e331176da121db22daa5dd9d72533b6a1efb33
Author:        Arnaldo Carvalho de Melo <acme@redhat.com>
AuthorDate:    Thu, 22 Aug 2019 14:26:31 -03:00
Committer:     Arnaldo Carvalho de Melo <acme@redhat.com>
CommitterDate: Mon, 26 Aug 2019 08:36:25 -03:00

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>
 tools/perf/util/cpumap.h | 2 --
 1 file changed, 2 deletions(-)

diff mbox series

diff --git a/tools/perf/util/cpumap.h b/tools/perf/util/cpumap.h
index d0c5bbf..c2519e7 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);