projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf unwind-libunwind: Fix base address for .eh_frame
[platform/kernel/linux-starfive.git]
/
tools
/
perf
/
util
/
unwind-libunwind-local.c
diff --git
a/tools/perf/util/unwind-libunwind-local.c
b/tools/perf/util/unwind-libunwind-local.c
index
c064188
..
5e5c339
100644
(file)
--- 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;