strace/Readme.md

15 lines
271 B
Markdown
Raw Permalink Normal View History

2022-06-24 00:52:59 +02:00
# 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