aboutsummaryrefslogtreecommitdiff
path: root/arch/csky/include/asm/perf_event.h
AgeCommit message (Collapse)AuthorFilesLines
2019-04-22csky: Add perf_arch_fetch_caller_regs supportMao Han1-0/+8
In trace events as tracepoints context are not able to be retrieve with task_pt_regs. Without arch caller regs support the pt_regs context will be all zero, perf can not parsing the callchain and resolving the symbols correctly, some time will even get into deadlock while handling the page fault, eg: perf kmem —page record ls Changelog - Add test case cmd in comment - Use regs_fp(regs) which is defined in abi/regdef.h Signed-off-by: Mao Han <[email protected]> Signed-off-by: Guo Ren <[email protected]>
2019-01-02csky: Add perf support for C-SKYGuo Ren1-0/+7
This adds basic perf support for all C-SKY CPUs. Hardware events are only supported by 807/810/860. Signed-off-by: Guo Ren <[email protected]>