summaryrefslogtreecommitdiff
path: root/tools/perf/tests/thread-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/thread-map.c')
-rw-r--r--tools/perf/tests/thread-map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/thread-map.c b/tools/perf/tests/thread-map.c
index d803eafedc60..c19ec8849e77 100644
--- a/tools/perf/tests/thread-map.c
+++ b/tools/perf/tests/thread-map.c
@@ -56,7 +56,7 @@ static int process_event(struct perf_tool *tool __maybe_unused,
struct perf_sample *sample __maybe_unused,
struct machine *machine __maybe_unused)
{
- struct thread_map_event *map = &event->thread_map;
+ struct perf_record_thread_map *map = &event->thread_map;
struct perf_thread_map *threads;
TEST_ASSERT_VAL("wrong nr", map->nr == 1);