Arnaldo Carvalho de Meloperf tests: Add missing SPDX headers5875cf47 years agoHistory
12 lines · 329 B · Shell
RawDownload
# SPDX-License-Identifier: GPL-2.0# 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} 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}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t