summaryrefslogtreecommitdiff
path: root/arch/csky/kernel/perf_regs.c
AgeCommit message (Collapse)Author
2019-04-22csky: Add support for perf registers samplingMao Han
This patch implements the perf registers sampling and validation API for csky 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 <han_mao@c-sky.com> Signed-off-by: Guo Ren <ren_guo@c-sky.com>