perf symbols: Better support for multiple symbol tables per dso
[safe/jmp/linux-2.6] / tools / perf / builtin-report.c
index e4b1004..400bef9 100644 (file)
@@ -455,7 +455,7 @@ got_map:
        dump_printf(" ...... map: %Lx -> %Lx\n", *ipp, ip);
        *ipp  = ip;
 
-       return map ? map__find_function(map, ip, NULL) : NULL;
+       return map ? map__find_symbol(map, ip, NULL) : NULL;
 }
 
 static int call__match(struct symbol *sym)