The arch API for system call information is declared in
<asm/syscall.h>
.
Each of these calls can be used only at system call entry tracing,
or can be used only at system call exit and the subsequent safe points
before returning to user mode.
At system call entry tracing means either during a
report_syscall_entry
callback,
or any time after that callback has returned UTRACE_STOP
.