xref: /linux/tools/perf/tests/shell/lib/probe.sh (revision 98af278b1e0fa6b7e6c762e185e99f0cc5e31cfe)
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