[PATCH v3 0/2] riscv: stacktrace: Add USER_STACKTRACE support

Jinjie Ruan ruanjinjie at huawei.com
Sun Jul 7 20:28:45 PDT 2024


Add RISC-V USER_STACKTRACE support, and fix the fp alignment bug
in perf_callchain_user() by the way as Björn pointed out.

Changes in v3:
- Fix the fp alignment bug in perf_callchain_user().
- Remove the LTP message as Björn suggested.
- Add the userstack trace test info.

Jinjie Ruan (2):
  riscv: Fix fp alignment bug in perf_callchain_user()
  riscv: stacktrace: Add USER_STACKTRACE support

 arch/riscv/Kconfig                 |  1 +
 arch/riscv/kernel/perf_callchain.c | 46 ++----------------------------
 arch/riscv/kernel/stacktrace.c     | 43 ++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+), 43 deletions(-)

-- 
2.34.1




More information about the linux-riscv mailing list