diff options
| author | Adrian Hunter <[email protected]> | 2022-10-14 17:09:04 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-10-15 13:13:16 +0000 |
| commit | 89b15d00527b7825ff19130ed83478e80e3fae99 (patch) | |
| tree | 30102bd4d045b1521198c2f0bbd180a0c6d21639 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
| parent | perf test: test_intel_pt.sh: Add jitdump test (diff) | |
| download | kernel-89b15d00527b7825ff19130ed83478e80e3fae99.tar.gz kernel-89b15d00527b7825ff19130ed83478e80e3fae99.zip | |
perf inject: Fix GEN_ELF_TEXT_OFFSET for jit
When a program header was added, it moved the text section but
GEN_ELF_TEXT_OFFSET was not updated.
Fix by adding the program header size and aligning.
Fixes: babd04386b1df8c3 ("perf jit: Include program header in ELF files")
Signed-off-by: Adrian Hunter <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Lieven Hey <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions
