WIP FPC-III support
[linux/fpc-iii.git] / tools / testing / selftests / bpf / benchs / run_bench_trigger.sh
blob78e83f24329463119456eaee635ece643916047d
1 #!/bin/bash
3 set -eufo pipefail
5 for i in base tp rawtp kprobe fentry fmodret
6 do
7 summary=$(sudo ./bench -w2 -d5 -a trig-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
8 printf "%-10s: %s\n" $i "$summary"
9 done