projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf annotate: addr2line wants addresses in same format as objdump
[linux-flexiantxendom0-3.2.10.git]
/
tools
/
perf
/
util
/
annotate.c
diff --git
a/tools/perf/util/annotate.c
b/tools/perf/util/annotate.c
index
e5a462f
..
31ba2a2
100644
(file)
--- a/
tools/perf/util/annotate.c
+++ b/
tools/perf/util/annotate.c
@@
-408,7
+408,7
@@
static int symbol__get_source_line(struct symbol *sym, struct map *map,
if (!notes->src->lines)
return -1;
- start = map->unmap_ip(map, sym->start);
+ start = map__rip_2objdump(map, sym->start);
for (i = 0; i < len; i++) {
char *path = NULL;