syscall.sh / loongarch64 / getrusage

getrusage

get resource usage

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

Registers

registervalue
a7165, the syscall number
a0int who
a1struct rusage *ru
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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