Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Ian Rogers and committed by
Arnaldo Carvalho de Melo
584754cb 2bd59717

-15
-1
tools/build/Makefile.feature
··· 123 123 llvm \ 124 124 clang \ 125 125 libbpf \ 126 - libbpf-strings \ 127 126 libpfm4 \ 128 127 libdebuginfod \ 129 128 clang-bpf-co-re \
-4
tools/build/feature/Makefile
··· 56 56 test-lzma.bin \ 57 57 test-bpf.bin \ 58 58 test-libbpf.bin \ 59 - test-libbpf-strings.bin \ 60 59 test-get_cpuid.bin \ 61 60 test-sdt.bin \ 62 61 test-cxx.bin \ ··· 326 327 327 328 $(OUTPUT)test-libbpf.bin: 328 329 $(BUILD) -lbpf 329 - 330 - $(OUTPUT)test-libbpf-strings.bin: 331 - $(BUILD) 332 330 333 331 $(OUTPUT)test-sdt.bin: 334 332 $(BUILD)
-10
tools/build/feature/test-libbpf-strings.c
··· 1 - // SPDX-License-Identifier: GPL-2.0 2 - #include <bpf/btf.h> 3 - 4 - int main(void) 5 - { 6 - struct btf_dump_type_data_opts opts; 7 - 8 - opts.emit_strings = 0; 9 - return opts.emit_strings; 10 - }