mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
35435cd060
Since we do not specify bash (and/or zsh) as a requirement, use the standard error redirection that is more widely supported. Signed-off-by: Kim Phillips <kim.phillips@arm.com> Link: http://lkml.kernel.org/n/tip-ji5mhn3iilgch3eaay6csr6z@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
7 lines
153 B
Bash
7 lines
153 B
Bash
# Arnaldo Carvalho de Melo <acme@kernel.org>, 2017
|
|
|
|
skip_if_no_perf_probe() {
|
|
perf probe 2>&1 | grep -q 'is not a perf-command' && return 2
|
|
return 0
|
|
}
|