Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
2
3skip_if_no_perf_probe() {
4 perf probe 2>&1 | grep -q 'is not a perf-command' && return 2
5 return 0
6}
7
8skip_if_no_perf_trace() {
9 perf trace -h 2>&1 | grep -q -e 'is not a perf-command' -e 'trace command not available' && return 2
10 return 0
11}