hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/tools/perf/arch/arm/tests/dwarf-unwind.c
....@@ -3,6 +3,7 @@
33 #include "perf_regs.h"
44 #include "thread.h"
55 #include "map.h"
6
+#include "maps.h"
67 #include "event.h"
78 #include "debug.h"
89 #include "tests/tests.h"
....@@ -25,7 +26,7 @@
2526
2627 sp = (unsigned long) regs[PERF_REG_ARM_SP];
2728
28
- map = map_groups__find(thread->mg, (u64)sp);
29
+ map = maps__find(thread->maps, (u64)sp);
2930 if (!map) {
3031 pr_debug("failed to get stack map\n");
3132 free(buf);