strace

Table of Contents

1. Usage

strace -c ./exe # show syscall freq
strace -p <pid>
strace -fp <pid> # process and threads
strace -s 80 -fp <pid> # process and threads + print lines

# filter out calls
strace -Tf ./program 2>&1 | grep -v futex
strace -Tfe trace=open,read,write ./program

2. Others

Created: 2024-07-16 Tue 16:44

Validate