Skip to content

Commit

Permalink
Add strace comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
vimpostor committed Jan 17, 2024
1 parent 2da3c3f commit 49e426b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ echo -e "\nRunning benchmark without interception:"
./benchmark
echo -e "\nRunning benchmark with interception:"
COPYCAT="/tmp/a /tmp/b" build/copycat -- ./benchmark
echo -e "\nRunning benchmark with strace:"
strace --quiet=all -e openat -- ./benchmark 2>/dev/null
echo -e "\nRunning benchmark with strace --seccomp-bpf:"
strace -f --seccomp-bpf --quiet=all -e openat -- ./benchmark 2>/dev/null

0 comments on commit 49e426b

Please sign in to comment.