syscall.sh / ppc64 / sched_getscheduler
sched_getscheduler
set and get scheduling policy/parameters
sys_sched_getscheduler(pid_t pid)
| number | 157 (0x9d) |
|---|---|
| abi | common |
| entry point | sys_sched_getscheduler |
| since | Linux 5.0 |
| man page | sched_getscheduler(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 157, the syscall number |
r3 | pid_t pid |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 145
- x86 157
- arm64 120
- arm 157
- riscv64 120
- x32 1073741969
- loongarch64 120
- ppc 157
- s390x 157
- mips64 5142
- mipsn32 6142
- mipso32 4161
- alpha 333
- arc 120
- csky 120
- hexagon 120
- m68k 157
- microblaze 157
- nios2 120
- openrisc 120
- parisc 157
- sh 157
- sparc 244
- sparc64 244
- xtensa 215
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/sched_getscheduler