summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko.stuebner@vrull.eu>2022-12-24 01:13:32 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2022-12-29 17:59:52 +0300
commit27c653c06505f084bcb57f7575916d60efb32279 (patch)
treebfa28b7b38414bca1ec2721c299c21bfbfb360ac /tools/perf/scripts/python/export-to-sqlite.py
parent47f05757d3d898b4756d6d5c06e77a37337823e9 (diff)
downloadlinux-27c653c06505f084bcb57f7575916d60efb32279.tar.xz
RISC-V: fix auipc-jalr addresses in patched alternatives
Alternatives live in a different section, so addresses used by call functions will point to wrong locations after the patch got applied. Similar to arm64, adjust the location to consider that offset. Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu> Link: https://lore.kernel.org/r/20221223221332.4127602-13-heiko@sntech.de Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions