mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
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 <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
7 lines
153 B
Bash
7 lines
153 B
Bash
# 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
|
|
}
|