diff options
| author | Namhyung Kim <[email protected]> | 2023-12-12 07:05:46 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-12-14 22:08:53 +0000 |
| commit | 4fb54994b2360ab5029ee3a959161f6fe6bbb349 (patch) | |
| tree | b5b04e85703c802d4e4e56c35b130077f94a6e8c /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | perf unwind-libdw: Handle JIT-generated DSOs properly (diff) | |
| download | kernel-4fb54994b2360ab5029ee3a959161f6fe6bbb349.tar.gz kernel-4fb54994b2360ab5029ee3a959161f6fe6bbb349.zip | |
perf unwind-libunwind: Fix base address for .eh_frame
The base address of a DSO mapping should start at the start of the file.
Usually DSOs are mapped from the pgoff 0 so it doesn't matter when it
uses the start of the map address.
But generated DSOs for JIT codes doesn't start from the 0 so it should
subtract the offset to calculate the .eh_frame table offsets correctly.
Fixes: dc2cf4ca866f5715 ("perf unwind: Fix segbase for ld.lld linked objects")
Reviewed-by: Ian Rogers <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Fangrui Song <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Milian Wolff <[email protected]>
Cc: Pablo Galindo <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
