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.

perf build: Remove unused libbfd-buildid feature test

HAVE_LIBBFD_BUILDID_SUPPORT isn't used in the codebase so remove the
feature test that sets it.

Signed-off-by: James Clark <james.clark@linaro.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Bill Wendling <morbo@google.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Justin Stitt <justinstitt@google.com>
Cc: Leo Yan <leo.yan@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <nick.desaulniers+lkml@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

James Clark and committed by
Arnaldo Carvalho de Melo
c0cb97a2 ae323bc2

-20
-1
tools/build/Makefile.feature
··· 71 71 gettid \ 72 72 glibc \ 73 73 libbfd \ 74 - libbfd-buildid \ 75 74 libelf \ 76 75 libelf-getphdrnum \ 77 76 libelf-gelf_getnote \
-4
tools/build/feature/Makefile
··· 13 13 test-gtk2-infobar.bin \ 14 14 test-hello.bin \ 15 15 test-libbfd.bin \ 16 - test-libbfd-buildid.bin \ 17 16 test-disassembler-four-args.bin \ 18 17 test-disassembler-init-styled.bin \ 19 18 test-reallocarray.bin \ ··· 266 267 267 268 $(OUTPUT)test-libbfd.bin: 268 269 $(BUILD_BFD) 269 - 270 - $(OUTPUT)test-libbfd-buildid.bin: 271 - $(BUILD_BFD) || $(BUILD_BFD) -liberty || $(BUILD_BFD) -liberty -lz 272 270 273 271 $(OUTPUT)test-disassembler-four-args.bin: 274 272 $(BUILD_BFD) -lopcodes || $(BUILD_BFD) -lopcodes -liberty || \
-8
tools/build/feature/test-libbfd-buildid.c
··· 1 - // SPDX-License-Identifier: GPL-2.0 2 - #include <bfd.h> 3 - 4 - int main(void) 5 - { 6 - bfd *abfd = bfd_openr("Pedro", 0); 7 - return abfd && (!abfd->build_id || abfd->build_id->size > 0x506564726f); 8 - }
-7
tools/perf/Makefile.config
··· 935 935 $(call feature_check,libbfd) 936 936 $(call feature_check,disassembler-four-args) 937 937 $(call feature_check,disassembler-init-styled) 938 - $(call feature_check,libbfd-buildid) 939 938 $(call feature_check,libbfd-liberty) 940 939 $(call feature_check,libbfd-liberty-z) 941 940 ··· 951 952 CFLAGS += -DHAVE_LIBBFD_SUPPORT 952 953 CXXFLAGS += -DHAVE_LIBBFD_SUPPORT 953 954 $(call detected,CONFIG_LIBBFD) 954 - 955 - ifeq ($(feature-libbfd-buildid), 1) 956 - CFLAGS += -DHAVE_LIBBFD_BUILDID_SUPPORT 957 - else 958 - $(warning Old version of libbfd/binutils things like PE executable profiling will not be available) 959 - endif 960 955 961 956 ifeq ($(feature-disassembler-four-args), 1) 962 957 CFLAGS += -DDISASM_FOUR_ARGS_SIGNATURE