getrusage on blackfin
get resource usage
sys_getrusage(int who, struct rusage *ru)
| number | 77 (0x4d) |
|---|---|
| abi | common |
| entry point | sys_getrusage |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for blackfin) |
| man page | getrusage(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
P0 | 77, the syscall number |
R0 | int who |
R1 | struct rusage *ru |
R0 | the return value |
Then run excpt 0 to enter the kernel.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 98
- x86 77
- arm64 165
- arm 77
- riscv64 165
- ia32 77
- x32 1073741922
- loongarch64 165
- ppc64 77
- ppc 77
- s390x 77
- mips64 5096
- mipsn32 6096
- mipso32 4077
- alpha 364
- arc 165
- cris 77, removed in 4.17
- csky 165
- frv 77, removed in 4.17
- hexagon 165
- ia64 1086, removed in 6.7
- m32r 77, removed in 4.17
- m68k 77
- metag 165, removed in 4.17
- microblaze 77
- mn10300 77, removed in 4.17
- nds32 165, removed in 5.18
- nios2 165
- openrisc 165
- parisc 77
- score 165, removed in 4.17
- sh 77
- sparc 117
- sparc64 117
- tilegx 165, removed in 4.17
- tilepro 165, removed in 4.17
- xtensa 190
Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/getrusage?kernel=all