Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.17-rc3 23 lines 438 B view raw
1#!/bin/bash 2 3set -eufo pipefail 4 5def_tests=( \ 6 usermode-count kernel-count syscall-count \ 7 fentry fexit fmodret \ 8 rawtp tp \ 9 kprobe kprobe-multi \ 10 kretprobe kretprobe-multi \ 11) 12 13tests=("$@") 14if [ ${#tests[@]} -eq 0 ]; then 15 tests=("${def_tests[@]}") 16fi 17 18p=${PROD_CNT:-1} 19 20for t in "${tests[@]}"; do 21 summary=$(sudo ./bench -w2 -d5 -a -p$p trig-$t | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-) 22 printf "%-15s: %s\n" $t "$summary" 23done