From 9999e48639b3cecb08ffb37358bcba3b48161b29 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 08:50:17 +0000
Subject: [PATCH] add ax88772_rst
---
kernel/tools/perf/tests/shell/lib/probe.sh | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/kernel/tools/perf/tests/shell/lib/probe.sh b/kernel/tools/perf/tests/shell/lib/probe.sh
index 6293cc6..51e3f60 100644
--- a/kernel/tools/perf/tests/shell/lib/probe.sh
+++ b/kernel/tools/perf/tests/shell/lib/probe.sh
@@ -1,6 +1,12 @@
+# 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
+}
--
Gitblit v1.6.2