projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba28c59
)
perf annotate: addr2line wants addresses in same format as objdump
author
David Miller
<davem@davemloft.net>
Sun, 25 Mar 2012 20:28:12 +0000
(16:28 -0400)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 28 Mar 2012 15:06:24 +0000
(12:06 -0300)
Therefore, in symbol__get_source_line(), use map__rip_2objdump
instead of calling map->unmap_ip() unconditionally.
Link:
http://lkml.kernel.org/r/20120325.162812.59519424882536855.davem@davemloft.net
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/util/annotate.c
b/tools/perf/util/annotate.c
index e5a462f1d07c0c0ab6cbcc08bd1e4a317bac6693..31ba2a20c0fb9166f1ff6efaee2cdad7b2978e0c 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_i
p(map, sym->start);
+ start = map
__rip_2objdum
p(map, sym->start);
for (i = 0; i < len; i++) {
char *path = NULL;