X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tools%2Fperf%2Futil%2Funwind-libunwind-local.c;h=5e5c3395a499899daec3452ea8a7fd15bd61901e;hb=46bd939d85ed577f4441538d8a3efaf52af36da2;hp=c0641882fd2fd7eef7991bc7b83fee0d3d03009b;hpb=3fde3003cab845c124253c0a42eb0cf70220c5da;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/tools/perf/util/unwind-libunwind-local.c b/tools/perf/util/unwind-libunwind-local.c index c0641882..5e5c339 100644 --- a/tools/perf/util/unwind-libunwind-local.c +++ b/tools/perf/util/unwind-libunwind-local.c @@ -327,7 +327,7 @@ static int read_unwind_spec_eh_frame(struct dso *dso, struct unwind_info *ui, maps__for_each_entry(thread__maps(ui->thread), map_node) { struct map *map = map_node->map; - u64 start = map__start(map); + u64 start = map__start(map) - map__pgoff(map); if (map__dso(map) == dso && start < base_addr) base_addr = start;