timer_gettime on arm64

arm/disarm and fetch state of POSIX per-process timer

sys_timer_gettime(timer_t timer_id, struct __kernel_itimerspec *setting)
number108 (0x6c)
abi64
kconfigCONFIG_POSIX_TIMERS
entry pointsys_timer_gettime
sinceLinux 3.7 or earlier (3.7 is the first release scanned for arm64)
man pagetimer_gettime(2)
sourceelixir.bootlin.com

Registers

registervalue
x8108, the syscall number
x0timer_t timer_id
x1struct __kernel_itimerspec *setting
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/timer_gettime