diff options
Diffstat (limited to 'tools/perf/tests/topology.c')
-rw-r--r-- | tools/perf/tests/topology.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/tests/topology.c b/tools/perf/tests/topology.c index c3aff53a976a..f5bb096c3bd9 100644 --- a/tools/perf/tests/topology.c +++ b/tools/perf/tests/topology.c | |||
@@ -73,10 +73,10 @@ static int check_cpu_topology(char *path, struct cpu_map *map) | |||
73 | 73 | ||
74 | for (i = 0; i < map->nr; i++) { | 74 | for (i = 0; i < map->nr; i++) { |
75 | TEST_ASSERT_VAL("Core ID doesn't match", | 75 | TEST_ASSERT_VAL("Core ID doesn't match", |
76 | (session->header.env.cpu[map->map[i]].core_id == (cpu_map__get_core(map, i) & 0xffff))); | 76 | (session->header.env.cpu[map->map[i]].core_id == (cpu_map__get_core(map, i, NULL) & 0xffff))); |
77 | 77 | ||
78 | TEST_ASSERT_VAL("Socket ID doesn't match", | 78 | TEST_ASSERT_VAL("Socket ID doesn't match", |
79 | (session->header.env.cpu[map->map[i]].socket_id == cpu_map__get_socket(map, i))); | 79 | (session->header.env.cpu[map->map[i]].socket_id == cpu_map__get_socket(map, i, NULL))); |
80 | } | 80 | } |
81 | 81 | ||
82 | perf_session__delete(session); | 82 | perf_session__delete(session); |