summaryrefslogtreecommitdiff
path: root/tools/build/feature/test-libbpf-strings.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-10-02 18:23:49 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2025-10-03 16:49:51 -0300
commit584754cbee6edf8495117e176427113b51a9bd7f (patch)
tree52cd1d9a086d952304c5dee0f07b40f92f0ac7e0 /tools/build/feature/test-libbpf-strings.c
parent2bd597170f46610792c541814ac36d14618de459 (diff)
tools build: Remove libbpf-strings feature test
The feature test is unnecessary as the LIBBPF_CURRENT_VERSION_GEQ(1,7) macro can be used instead. The only use was in perf and this is now removed. Signed-off-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Blake Jones <blakejones@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/build/feature/test-libbpf-strings.c')
-rw-r--r--tools/build/feature/test-libbpf-strings.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/build/feature/test-libbpf-strings.c b/tools/build/feature/test-libbpf-strings.c
deleted file mode 100644
index 83e6c45f5c85..000000000000
--- a/tools/build/feature/test-libbpf-strings.c
+++ /dev/null
@@ -1,10 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-#include <bpf/btf.h>
-
-int main(void)
-{
- struct btf_dump_type_data_opts opts;
-
- opts.emit_strings = 0;
- return opts.emit_strings;
-}