2 # SPDX-License-Identifier: GPL-2.0
5 skip_if_no_perf_probe() {
6 perf probe 2>&1 | grep -q 'is not a perf-command' && return 2
10 skip_if_no_perf_trace() {
11 perf trace -h 2>&1 | grep -q -e 'is not a perf-command' -e 'trace command not available' && return 2