Skip to contentSkip to conversation

perf cpumap: No need to include perf.h, ditch it

tip: perf/core tip-bot2 for Arnaldo Carvalho de Melo 1 participant 1 message Aug 27, 2019 1 message not in the archive perf events

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

tip-bot2 for Arnaldo Carvalho de Melo

author merge bot Applied
#1 lore raw

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 <[email protected]>
AuthorDate:    Thu, 22 Aug 2019 14:26:31 -03:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
CommitterDate: Mon, 26 Aug 2019 08:36:25 -03:00

perf cpumap: No need to include perf.h, ditch it

Quoted 1 line

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.

---
 tools/perf/util/cpumap.h | 2 --
 1 file changed, 2 deletions(-)
tools/perf/util/cpumap.h +0 -2
index d0c5bbf..c2519e7 100644
@@ -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);