aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r--tools/perf/builtin-annotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c
index 0846c8a155ed..c32e7609b77b 100644
--- a/tools/perf/builtin-annotate.c
+++ b/tools/perf/builtin-annotate.c
@@ -170,7 +170,7 @@ process_sample_event(event_t *event, unsigned long offset, unsigned long head)
170 map = thread__find_map(thread, ip); 170 map = thread__find_map(thread, ip);
171 if (map != NULL) { 171 if (map != NULL) {
172 ip = map->map_ip(map, ip); 172 ip = map->map_ip(map, ip);
173 sym = map__find_function(map, ip, symbol_filter); 173 sym = map__find_symbol(map, ip, symbol_filter);
174 } else { 174 } else {
175 /* 175 /*
176 * If this is outside of all known maps, 176 * If this is outside of all known maps,