strace/Readme.md

271 B

strace

Custom strace, that logs the calling function but only logs syscalls that open or close a fd.

Compile

make all

Use

TRACEOUT=trace.log LD_PRELOAD=./trace.so ./program-under-test --arg1 --arg2 ....

This does not log event or epoll fds