diff options
| author | Namhyung Kim <[email protected]> | 2023-12-12 07:05:44 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-12-14 21:56:34 +0000 |
| commit | 1af478903fc48c1409a8dd6b698383b62387adf1 (patch) | |
| tree | af49308e5f230ace88f9f360006e4889024ed571 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | perf stat: Combine the -A/--no-aggr and --no-merge options (diff) | |
| download | kernel-1af478903fc48c1409a8dd6b698383b62387adf1.tar.gz kernel-1af478903fc48c1409a8dd6b698383b62387adf1.zip | |
perf genelf: Set ELF program header addresses properly
The text section starts after the ELF headers so PHDR.p_vaddr and
others should have the correct addresses.
Fixes: babd04386b1df8c3 ("perf jit: Include program header in ELF files")
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: Lieven Hey <[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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
