syscall.sh / ppc64 / getrusage

getrusage

get resource usage

sys_getrusage(int who, struct rusage *ru)
number77 (0x4d)
abicommon
entry pointsys_getrusage
sinceLinux 5.0
man pagegetrusage(2)
sourceelixir.bootlin.com

Registers

registervalue
r077, the syscall number
r3int who
r4struct rusage *ru
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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