3 gcc -o sembench sembench.c -O2 -lpthread
5 COMMAND="./sembench -t 200 -w 20 -r 30 -o 2"
7 echo -e "\n\t\tPass 1 without tracing"
9 echo -e "\n\t\tPass 2 without tracing"
11 echo -e "\n\t\tPass 3 without tracing"
16 ../../ktap -e 'trace syscalls:sys_*_futex {}' &
18 echo -e "\n\t\tPass 1 with tracing"
20 echo -e "\n\t\tPass 2 with tracing"
22 echo -e "\n\t\tPass 3 with tracing"