syscall.sh / xtensa / getrusage

getrusage

get resource usage

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

Registers

registervalue
a2190, the syscall number
a6int who
a3struct rusage *ru
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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