diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-07-08 06:28:46 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-09-15 09:57:15 +0300 |
commit | 22ab08955ea13be04a8efd20cc30890e0afaa49c (patch) | |
tree | 9089824839f440ba8cea0d3210607f538e3da2a7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) | |
download | linux-22ab08955ea13be04a8efd20cc30890e0afaa49c.tar.xz |
riscv: Fix fp alignment bug in perf_callchain_user()
The standard RISC-V calling convention said:
"The stack grows downward and the stack pointer is always
kept 16-byte aligned".
So perf_callchain_user() should check whether 16-byte aligned for fp.
Link: https://riscv.org/wp-content/uploads/2015/01/riscv-calling.pdf
Fixes: dbeb90b0c1eb ("riscv: Add perf callchain support")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Cc: Björn Töpel <bjorn@kernel.org>
Link: https://lore.kernel.org/r/20240708032847.2998158-2-ruanjinjie@huawei.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions