aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorMao Han <[email protected]>2019-09-05 11:46:35 +0800
committerPaul Walmsley <[email protected]>2019-09-05 00:48:58 -0700
commit98a93b0b561c571153b7cd6953e882bc3fd8cfcd (patch)
tree4698bf158191aa820da633e485089d0c447a6cd2 /lib/mpi/mpi-cmp.c
parentdbeb90b0c1eb86a9b963b929d3c937afb7dadfa3 (diff)
riscv: Add support for perf registers sampling
This patch implements the perf registers sampling and validation API for the 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 <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Greentime Hu <[email protected]> Cc: Palmer Dabbelt <[email protected]> Cc: linux-riscv <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Guo Ren <[email protected]> Tested-by: Greentime Hu <[email protected]> [[email protected]: minor patch description fix] Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions