perf env: Remove needless cpumap.h header
Only a 'struct perf_cmp_map' forward allocation is necessary, fix the places that need the header but were getting it indirectly, by luck, from env.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-3sj3n534zghxhk7ygzeaqlx9@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "perf.h"
|
||||
#include "perf-sys.h"
|
||||
|
||||
#include "util/cpumap.h"
|
||||
#include "util/evlist.h"
|
||||
#include "util/evsel.h"
|
||||
#include "util/symbol.h"
|
||||
@@ -36,6 +37,7 @@
|
||||
#include <pthread.h>
|
||||
#include <math.h>
|
||||
#include <api/fs/fs.h>
|
||||
#include <perf/cpumap.h>
|
||||
#include <linux/time64.h>
|
||||
|
||||
#include <linux/ctype.h>
|
||||
|
Reference in New Issue
Block a user