summaryrefslogtreecommitdiffstats
path: root/tools/perf/bench/futex-wake-parallel.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-09-10 17:29:02 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-09-20 14:19:21 +0200
commit87ffb6c6407023419ae6b2770142b0754d9cbaa1 (patch)
treee9cddbe1223bfdeb3f01da1f878e316f52bc872b /tools/perf/bench/futex-wake-parallel.c
parentperf symbols: Add missing dso.h header (diff)
downloadlinux-87ffb6c6407023419ae6b2770142b0754d9cbaa1.tar.xz
linux-87ffb6c6407023419ae6b2770142b0754d9cbaa1.zip
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>
Diffstat (limited to 'tools/perf/bench/futex-wake-parallel.c')
-rw-r--r--tools/perf/bench/futex-wake-parallel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/bench/futex-wake-parallel.c b/tools/perf/bench/futex-wake-parallel.c
index 163fe16c275a..a053cf2b7039 100644
--- a/tools/perf/bench/futex-wake-parallel.c
+++ b/tools/perf/bench/futex-wake-parallel.c
@@ -29,7 +29,8 @@ int bench_futex_wake_parallel(int argc __maybe_unused, const char **argv __maybe
#include <linux/time64.h>
#include <errno.h>
#include "futex.h"
-#include "cpumap.h"
+#include <internal/cpumap.h>
+#include <perf/cpumap.h>
#include <err.h>
#include <stdlib.h>