sched_getparam on arm64

set and get scheduling parameters

sys_sched_getparam(pid_t pid, struct sched_param *param)
number121 (0x79)
abicommon
entry pointsys_sched_getparam
sinceLinux 3.7 or earlier (3.7 is the first release scanned for arm64)
man pagesched_getparam(2)
sourceelixir.bootlin.com

Registers

registervalue
x8121, the syscall number
x0pid_t pid
x1struct sched_param *param
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/sched_getparam