summaryrefslogtreecommitdiff
path: root/tools/lib/perf/tests/test-evlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/perf/tests/test-evlist.c')
-rw-r--r--tools/lib/perf/tests/test-evlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/perf/tests/test-evlist.c b/tools/lib/perf/tests/test-evlist.c
index ed616fc19b4f..ab63878bacb9 100644
--- a/tools/lib/perf/tests/test-evlist.c
+++ b/tools/lib/perf/tests/test-evlist.c
@@ -261,7 +261,7 @@ static int test_mmap_thread(void)
threads = perf_thread_map__new_dummy();
__T("failed to create threads", threads);
- cpus = perf_cpu_map__dummy_new();
+ cpus = perf_cpu_map__new_any_cpu();
__T("failed to create cpus", cpus);
perf_thread_map__set_pid(threads, 0, pid);