syscall.sh / ppc / timer_gettime
timer_gettime
arm/disarm and fetch state of POSIX per-process timer
sys_timer_gettime32(timer_t timer_id, struct old_itimerspec32 *setting)
| number | 242 (0xf2) |
|---|---|
| abi | 32 |
| entry point | sys_timer_gettime32 |
| since | Linux 5.0 |
| man page | timer_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 242, the syscall number |
r3 | timer_t timer_id |
r4 | struct old_itimerspec32 *setting |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
- x64 224
- x86 261
- arm64 108
- arm 259
- riscv64 108
- x32 1073742048
- loongarch64 108
- ppc64 242
- s390x 256
- mips64 5218
- mipsn32 6222
- mipso32 4259
- alpha 416
- arc 108
- csky 108
- hexagon 108
- m68k 256
- microblaze 261
- nios2 108
- openrisc 108
- parisc 252
- sh 261
- sparc 263
- sparc64 263
- xtensa 251
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/timer_gettime