diff options
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r-- | tools/perf/builtin-annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index c32e7609b77b..3ebd70b1ef93 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
@@ -167,7 +167,7 @@ process_sample_event(event_t *event, unsigned long offset, unsigned long head) | |||
167 | map ? map->dso->long_name : "<not found>"); | 167 | map ? map->dso->long_name : "<not found>"); |
168 | } else if (event->header.misc & PERF_RECORD_MISC_USER) { | 168 | } else if (event->header.misc & PERF_RECORD_MISC_USER) { |
169 | level = '.'; | 169 | level = '.'; |
170 | map = thread__find_map(thread, ip); | 170 | map = thread__find_map(thread, MAP__FUNCTION, 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_symbol(map, ip, symbol_filter); | 173 | sym = map__find_symbol(map, ip, symbol_filter); |