1 #!/bin/bash 2 3 set -eufo pipefail 4 5 for i in usermode-count syscall-count {uprobe,uretprobe}-{nop,push,ret} 6 do 7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-) 8 printf "%-15s: %s\n" $i "$summary" 9 done
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.