diff options
Diffstat (limited to 'tools/perf/bench/futex-hash.c')
| -rw-r--r-- | tools/perf/bench/futex-hash.c | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/perf/bench/futex-hash.c b/tools/perf/bench/futex-hash.c index a80797763e1f..8ba0c3330a9a 100644 --- a/tools/perf/bench/futex-hash.c +++ b/tools/perf/bench/futex-hash.c @@ -20,12 +20,13 @@  #include <linux/kernel.h>  #include <linux/zalloc.h>  #include <sys/time.h> +#include <internal/cpumap.h> +#include <perf/cpumap.h>  #include "../util/stat.h"  #include <subcmd/parse-options.h>  #include "bench.h"  #include "futex.h" -#include "cpumap.h"  #include <err.h> @@ -124,7 +125,7 @@ int bench_futex_hash(int argc, const char **argv)  	unsigned int i;  	pthread_attr_t thread_attr;  	struct worker *worker = NULL; -	struct cpu_map *cpu; +	struct perf_cpu_map *cpu;  	argc = parse_options(argc, argv, options, bench_futex_hash_usage, 0);  	if (argc) { @@ -132,7 +133,7 @@ int bench_futex_hash(int argc, const char **argv)  		exit(EXIT_FAILURE);  	} -	cpu = cpu_map__new(NULL); +	cpu = perf_cpu_map__new(NULL);  	if (!cpu)  		goto errmem;  |