![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 0003 #ifndef __ASM_CSKY_PERF_EVENT_H 0004 #define __ASM_CSKY_PERF_EVENT_H 0005 0006 #include <abi/regdef.h> 0007 0008 #define perf_arch_fetch_caller_regs(regs, __ip) { \ 0009 (regs)->pc = (__ip); \ 0010 regs_fp(regs) = (unsigned long) __builtin_frame_address(0); \ 0011 asm volatile("mov %0, sp\n":"=r"((regs)->usp)); \ 0012 } 0013 0014 #endif /* __ASM_PERF_EVENT_ELF_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |