Go to file
mrbesen 0601b95da3
initial
2022-06-24 00:52:59 +02:00
.gitignore initial 2022-06-24 00:52:59 +02:00
Makefile initial 2022-06-24 00:52:59 +02:00
Readme.md initial 2022-06-24 00:52:59 +02:00
getcaller.cpp initial 2022-06-24 00:52:59 +02:00
trace.cpp initial 2022-06-24 00:52:59 +02:00

Readme.md

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