Sortix cross-volatile manual
This manual documents Sortix cross-volatile. You can instead view this document in the latest official manual.
NAME
strace — trace system callsSYNOPSIS
| strace | [-f] [-o file] [-p pid] program [arguments ...] |
DESCRIPTION
strace executes program with the provided arguments in a new process, tracing all its system calls, and writing their invocations to the standard error.- -f
- Recursively trace all descendant processes and all their threads.
- -o file
- Write the system call invocations to the file instead of the standard error. If -p is not used, then all signals will be blocked in order to make strace into a silent observer that doesn't act on the signals.
- -p pid
- Attach to the process with this pid instead of starting a new process.
FILES
- /include/sortix/syscall.h
- Public system call numbers.
- /include/sortix/kernel/syscall.h
- Internal kernel function signatures for each system call.