kernel/tools/perf/arch/powerpc/tests/dwarf-unwind.c
.. .. @@ -3,6 +3,7 @@ 3 3 #include "perf_regs.h" 4 4 #include "thread.h" 5 5 #include "map.h" 6 +#include "maps.h"6 7 #include "event.h" 7 8 #include "debug.h" 8 9 #include "tests/tests.h" .. .. @@ -26,7 +27,7 @@ 26 27 27 28 sp = (unsigned long) regs[PERF_REG_POWERPC_R1]; 28 29 29 - map = map_groups__find(thread->mg, (u64)sp);30 + map = maps__find(thread->maps, (u64)sp);30 31 if (!map) { 31 32 pr_debug("failed to get stack map\n"); 32 33 free(buf);