perf_event_open on ia64

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)
number1352 (0x548)
abicommon
kconfigCONFIG_PERF_EVENTS
entry pointsys_perf_event_open
sinceLinux 5.1
man pageperf_event_open(2)
sourceelixir.bootlin.com

Registers

registervalue
r151352, the syscall number
out0struct perf_event_attr *attr_uptr
out1pid_t pid
out2int cpu
out3int group_fd
out4unsigned long flags
r8the return value

Then run break 0x100000 to enter the kernel.

The kernel uses r10 to signal an error.

The pipe call returns file descriptors in r8 and r9.

This architecture was removed from the Linux kernel in Linux 6.7. The newest release with a syscall table here is Linux 6.6. The other removed architectures live on the historical architectures page.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ia64/perf_event_open?kernel=all