xref: /linux/tools/testing/selftests/bpf/benchs/run_bench_rename.sh (revision a3f9e4bc1ec9d8f1e352eb7c1cbaea3168246be7)
1#!/bin/bash
2
3set -eufo pipefail
4
5for i in base kprobe kretprobe rawtp fentry fexit
6do
7	summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
8	printf "%-10s: %s\n" $i "$summary"
9done
10