Re: [PATCH V7 1/2] riscv: Add support for perf registers sampling

2019-09-05 Thread Paul Walmsley
On Thu, 5 Sep 2019, Mao Han wrote: > This patch implements the perf registers sampling and validation API > for riscv arch. The valid registers and their register ID are defined in > perf_regs.h. Perf tool can backtrace in userspace with unwind library > and the registers/user stack dump support.

[PATCH V7 1/2] riscv: Add support for perf registers sampling

2019-09-04 Thread Mao Han
This patch implements the perf registers sampling and validation API for riscv arch. The valid registers and their register ID are defined in perf_regs.h. Perf tool can backtrace in userspace with unwind library and the registers/user stack dump support. Signed-off-by: Mao Han Cc: Paul Walmsley