timerfd_gettime on arm64

timers that notify via file descriptors

sys_timerfd_gettime(int ufd, struct __kernel_itimerspec *otmr)
number87 (0x57)
abi64
kconfigCONFIG_TIMERFD
entry pointsys_timerfd_gettime
sinceLinux 3.7 or earlier (3.7 is the first release scanned for arm64)
man pagetimerfd_gettime(2)
sourceelixir.bootlin.com

Registers

registervalue
x887, the syscall number
x0int ufd
x1struct __kernel_itimerspec *otmr
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arm64/timerfd_gettime