# Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
skip_if_no_perf_probe(){perfprobe2>&1|grep-q'is not a perf-command'&&return2return0}
skip_if_no_perf_trace(){perftrace-h2>&1|grep-q-e'is not a perf-command'-e'trace command not available'&&return2return0}