syscall.sh / openrisc / getrusage

getrusage

get resource usage

sys_getrusage(int who, struct rusage *ru)
number165 (0xa5)
abicommon
entry pointsys_getrusage
sinceLinux 3.7
man pagegetrusage(2)
sourceelixir.bootlin.com

Registers

registervalue
r11165, the syscall number
r3int who
r4struct rusage *ru
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/getrusage