forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
329 B
12 lines
329 B
# SPDX-License-Identifier: GPL-2.0 |
|
# Arnaldo Carvalho de Melo <[email protected]>, 2017 |
|
|
|
skip_if_no_perf_probe() { |
|
perf probe 2>&1 | grep -q 'is not a perf-command' && return 2 |
|
return 0 |
|
} |
|
|
|
skip_if_no_perf_trace() { |
|
perf trace -h 2>&1 | grep -q -e 'is not a perf-command' -e 'trace command not available' && return 2 |
|
return 0 |
|
}
|
|
|