syscall.sh / x64 / sched_getscheduler

sched_getscheduler

set and get scheduling policy/parameters

sys_sched_getscheduler(pid_t pid)
number145 (0x91)
abicommon
entry pointsys_sched_getscheduler
sinceLinux 3.3
man pagesched_getscheduler(2)
sourceelixir.bootlin.com

Registers

registervalue
rax145, the syscall number
rdipid_t pid
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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