File Index
Files and directories
Sign in
FILE

perf_event.h

File preview with syntax highlighting.

linux-6.19.14/arch/parisc/include/asm/perf_event.h C
 1#ifndef __ASM_PARISC_PERF_EVENT_H
 2#define __ASM_PARISC_PERF_EVENT_H
 3
 4#include <asm/psw.h>
 5
 6#define perf_arch_fetch_caller_regs(regs, __ip) { \
 7	(regs)->gr[0] = KERNEL_PSW; \
 8	(regs)->iaoq[0] = (__ip); \
 9	asm volatile("copy %%sp, %0\n":"=r"((regs)->gr[30])); \
10}
11
12#endif /* __ASM_PARISC_PERF_EVENT_H */
~/ Read-only file preview.