build: add strace output to test_race.sh script

This commit is contained in:
CJ van den Berg 2025-04-30 14:57:09 +02:00
parent 36e6d6a69f
commit 8211be2754
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -9,5 +9,9 @@ fi
for i in {1..60}; do
echo "running $i ..."
flow --exec quit "$@" || exit 1
# flow --exec quit "$@" || exit 1
strace -f -t \
-e trace=open,openat,close,socket,pipe,pipe2,dup,dup2,dup3,fcntl,accept,accept4,epoll_create,epoll_create1,eventfd,timerfd_create,signalfd,execve,fork \
-o trace.log \
flow --exec quit --trace-level 9 "$@"
done