syscall.sh / s390x / timer_gettime

timer_gettime

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

sys_timer_gettime(timer_t timer_id, struct __kernel_itimerspec *setting)
number256 (0x100)
abicommon
entry pointsys_timer_gettime
sinceLinux 4.16
man pagetimer_gettime(2)
sourceelixir.bootlin.com

Registers

registervalue
r1256, the syscall number
r2timer_t timer_id
r3struct __kernel_itimerspec *setting
r2the 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/s390x/timer_gettime