|
# strace
|
|
|
|
Custom strace, that logs the calling function but only logs syscalls that open or close a fd.
|
|
|
|
## Compile
|
|
```
|
|
make all
|
|
```
|
|
|
|
## Use
|
|
```bash
|
|
TRACEOUT=trace.log LD_PRELOAD=./trace.so ./program-under-test --arg1 --arg2 ....
|
|
```
|
|
|
|
This does not log event or epoll fds |