syscall.sh / ppc64 / sched_getattr
sched_getattr
set and get scheduling policy and attributes
sys_sched_getattr(pid_t pid, struct sched_attr *attr, unsigned int size, unsigned int flags)
| number | 356 (0x164) |
|---|---|
| abi | common |
| entry point | sys_sched_getattr |
| since | Linux 5.0 |
| man page | sched_getattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 356, the syscall number |
r3 | pid_t pid |
r4 | struct sched_attr *attr |
r5 | unsigned int size |
r6 | unsigned int flags |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 315
- x86 352
- arm64 275
- arm 381
- riscv64 275
- x32 1073742139
- loongarch64 275
- ppc 356
- s390x 346
- mips64 5310
- mipsn32 6314
- mipso32 4350
- alpha 509
- arc 275
- csky 275
- hexagon 275
- m68k 350
- microblaze 382
- nios2 275
- openrisc 275
- parisc 335
- sh 369
- sparc 344
- sparc64 344
- xtensa 335
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/sched_getattr