syscall.sh / arm64 / 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
x8165, the syscall number
x0int who
x1struct rusage *ru
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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