syscall.sh / sh / sched_getparam

sched_getparam

set and get scheduling parameters

sys_sched_getparam(pid_t pid, struct sched_param *param)
number155 (0x9b)
abicommon
entry pointsys_sched_getparam
sinceLinux 5.0
man pagesched_getparam(2)
sourceelixir.bootlin.com

Registers

registervalue
r3155, the syscall number
r4pid_t pid
r5struct sched_param *param
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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