diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-05-06 23:07:37 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-05-06 23:07:37 +0200 |
commit | 9a2d5178b9d51e1c5f9e08989ff97fc8d4893f31 (patch) | |
tree | 782735efb64680e0de29c60f2aac36a056eb0f8d /tools/perf/tests | |
parent | Revert "perf build: Warn for BPF skeletons if endian mismatches" (diff) | |
download | linux-9a2d5178b9d51e1c5f9e08989ff97fc8d4893f31.tar.xz linux-9a2d5178b9d51e1c5f9e08989ff97fc8d4893f31.zip |
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')
-rwxr-xr-x | tools/perf/tests/shell/record_offcpu.sh | 2 |
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 |