aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r--tools/perf/builtin-report.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 5eb5566f0c95..ec230a0146e9 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -797,7 +797,7 @@ resolve_symbol(struct thread *thread, struct map **mapp,
797{ 797{
798 struct dso *dso = dsop ? *dsop : NULL; 798 struct dso *dso = dsop ? *dsop : NULL;
799 struct map *map = mapp ? *mapp : NULL; 799 struct map *map = mapp ? *mapp : NULL;
800 uint64_t ip = *ipp; 800 u64 ip = *ipp;
801 801
802 if (!thread) 802 if (!thread)
803 return NULL; 803 return NULL;
@@ -814,7 +814,6 @@ resolve_symbol(struct thread *thread, struct map **mapp,
814 *mapp = map; 814 *mapp = map;
815got_map: 815got_map:
816 ip = map->map_ip(map, ip); 816 ip = map->map_ip(map, ip);
817 *ipp = ip;
818 817
819 dso = map->dso; 818 dso = map->dso;
820 } else { 819 } else {
@@ -828,6 +827,8 @@ got_map:
828 dso = kernel_dso; 827 dso = kernel_dso;
829 } 828 }
830 dprintf(" ...... dso: %s\n", dso ? dso->name : "<not found>"); 829 dprintf(" ...... dso: %s\n", dso ? dso->name : "<not found>");
830 dprintf(" ...... map: %Lx -> %Lx\n", *ipp, ip);
831 *ipp = ip;
831 832
832 if (dsop) 833 if (dsop)
833 *dsop = dso; 834 *dsop = dso;