]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - tools/perf/arch/powerpc/tests/dwarf-unwind.c
perf maps: Rename map_groups.h to maps.h
[linux.git] / tools / perf / arch / powerpc / tests / dwarf-unwind.c
index 5c178e4a199593a507825b5900e6e12f65ef7f79..8efd9ed9e9db67f224dca0ddfe0edc46eac7e9e7 100644 (file)
@@ -3,7 +3,7 @@
 #include "perf_regs.h"
 #include "thread.h"
 #include "map.h"
-#include "map_groups.h"
+#include "maps.h"
 #include "event.h"
 #include "debug.h"
 #include "tests/tests.h"
@@ -27,7 +27,7 @@ static int sample_ustack(struct perf_sample *sample,
 
        sp = (unsigned long) regs[PERF_REG_POWERPC_R1];
 
-       map = map_groups__find(thread->mg, (u64)sp);
+       map = maps__find(thread->maps, (u64)sp);
        if (!map) {
                pr_debug("failed to get stack map\n");
                free(buf);