Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.7-rc4 14 lines 359 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#ifndef __ASM_CSKY_PERF_EVENT_H 4#define __ASM_CSKY_PERF_EVENT_H 5 6#include <abi/regdef.h> 7 8#define perf_arch_fetch_caller_regs(regs, __ip) { \ 9 (regs)->pc = (__ip); \ 10 regs_fp(regs) = (unsigned long) __builtin_frame_address(0); \ 11 asm volatile("mov %0, sp\n":"=r"((regs)->usp)); \ 12} 13 14#endif /* __ASM_PERF_EVENT_ELF_H */