syscall.sh / arc / sched_rr_get_interval
sched_rr_get_interval
get the SCHED_RR interval for the named process
sys_sched_rr_get_interval_time32(pid_t pid, struct old_timespec32 *interval)
| number | 127 (0x7f) |
|---|---|
| abi | time32 |
| entry point | sys_sched_rr_get_interval_time32 |
| since | Linux 3.9 |
| man page | sched_rr_get_interval(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r8 | 127, the syscall number |
r0 | pid_t pid |
r1 | struct old_timespec32 *interval |
r0 | the return value |
Then run trap0 to enter the kernel.
Same syscall on other architectures
- x64 148
- x86 161
- arm64 127
- arm 161
- riscv64 127
- x32 1073741972
- loongarch64 127
- ppc64 161
- ppc 161
- s390x 161
- mips64 5145
- mipsn32 6145
- mipso32 4165
- alpha 337
- csky 127
- hexagon 127
- m68k 161
- microblaze 161
- nios2 127
- openrisc 127
- parisc 161
- sh 161
- sparc 248
- sparc64 248
- xtensa 218
Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/sched_rr_get_interval