Sign in
gbmc
/
linux
/
aca701c61822d996f38b328d38d3b5d62a9f49b5
/
.
/
tools
/
testing
/
selftests
/
bpf
/
benchs
/
run_bench_uprobes.sh
blob: 03f55405484b2c976103e03879cb0e738e16caec [
file
] [
log
] [
blame
]
#!/bin/bash
set
-
eufo pipefail
for
i
in
usermode
-
count syscall
-
count
{
uprobe
,
uretprobe
}-{
nop
,
push
,
ret
,
nop5
}
do
summary
=
$
(
sudo
./
bench
-
w2
-
d5
-
a trig
-
$i
|
tail
-
n1
|
cut
-
d
'('
-
f1
|
cut
-
d
' '
-
f3
-)
printf
"%-15s: %s\n"
$i
"$summary"
done