summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJamie Iles <jamie@jamieiles.com>2022-11-15 23:08:31 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2022-12-02 21:04:37 +0300
commitdc58a24db8c12ea361e94eaf53adc5d471534694 (patch)
tree33800d8989bbdd0b2284a87b175eeed701e7ef21 /tools/perf/scripts/python/export-to-postgresql.py
parent3bd7743f8d6d7171db9897a746038eefd52a1fbd (diff)
downloadlinux-dc58a24db8c12ea361e94eaf53adc5d471534694.tar.xz
RISC-V: preserve a1 in mcount
The RISC-V ELF psABI states that both a0 and a1 are used for return values so we should preserve them both in return_to_handler. This is especially important for RV32 for functions returning a 64-bit quantity otherwise the return value can be corrupted and undefined behaviour results. Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Signed-off-by: Jamie Iles <jamie@jamieiles.com> Link: https://lore.kernel.org/r/20221115200832.706370-4-jamie@jamieiles.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions