Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-2
-2
tools/perf/util/cpumap.h
··· 7 7 #include <internal/cpumap.h> 8 8 #include <perf/cpumap.h> 9 9 10 - #include "perf.h" 11 - 12 10 struct cpu_map_data; 13 11 14 12 struct perf_cpu_map *perf_cpu_map__empty_new(int nr);