syscall.sh / parisc / perf_event_open

perf_event_open

set up performance monitoring

sys_perf_event_open(struct perf_event_attr *attr_uptr, pid_t pid, int cpu, int group_fd, unsigned long flags)
number318 (0x13e)
abicommon
entry pointsys_perf_event_open
sinceLinux 5.0
man pageperf_event_open(2)
sourceelixir.bootlin.com

Registers

registervalue
r20318, the syscall number
r26struct perf_event_attr *attr_uptr
r25pid_t pid
r24int cpu
r23int group_fd
r22unsigned long flags
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/perf_event_open