summaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/record_offcpu.sh
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2023-05-07 00:07:37 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-05-07 00:07:37 +0300
commit9a2d5178b9d51e1c5f9e08989ff97fc8d4893f31 (patch)
tree782735efb64680e0de29c60f2aac36a056eb0f8d /tools/perf/tests/shell/record_offcpu.sh
parentc3e6df97fa25ff310c3d5e7f1644248e072e3cb0 (diff)
downloadlinux-9a2d5178b9d51e1c5f9e08989ff97fc8d4893f31.tar.xz
Revert "perf build: Make BUILD_BPF_SKEL default, rename to NO_BPF_SKEL"
This reverts commit a980755beb5aca9002e1c95ba519b83a44242b5b. We need to better polish building with BPF skels, so revert back to making it an experimental feature that has to be explicitely enabled using BUILD_BPF_SKEL=1. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/shell/record_offcpu.sh')
-rwxr-xr-xtools/perf/tests/shell/record_offcpu.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/shell/record_offcpu.sh b/tools/perf/tests/shell/record_offcpu.sh
index 155d4856551a..f062ae9a95e1 100755
--- a/tools/perf/tests/shell/record_offcpu.sh
+++ b/tools/perf/tests/shell/record_offcpu.sh
@@ -28,7 +28,7 @@ test_offcpu_priv() {
err=2
return
fi
- if perf version --build-options 2>&1 | grep HAVE_BPF_SKEL | grep -q OFF
+ if perf record --off-cpu -o /dev/null --quiet true 2>&1 | grep BUILD_BPF_SKEL
then
echo "off-cpu test [Skipped missing BPF support]"
err=2