summaryrefslogtreecommitdiffstats
path: root/arch/csky/include/asm/perf_event.h
Commit message (Collapse)AuthorAgeFilesLines
* csky: Add perf_arch_fetch_caller_regs supportMao Han2019-04-221-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 <han_mao@c-sky.com> Signed-off-by: Guo Ren <guoren@kernel.org>
* csky: Add perf support for C-SKYGuo Ren2019-01-021-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 <ren_guo@c-sky.com>
OpenPOWER on IntegriCloud