[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250603221358.2562167-1-irogers@google.com>
Date: Tue, 3 Jun 2025 15:13:58 -0700
From: Ian Rogers <irogers@...gle.com>
To: Namhyung Kim <namhyung@...nel.org>, Arnaldo Carvalho de Melo <acme@...hat.com>,
Ian Rogers <irogers@...gle.com>, "Steven Rostedt (Google)" <rostedt@...dmis.org>,
Quentin Monnet <qmo@...nel.org>, James Clark <james.clark@...aro.org>,
Tomas Glozar <tglozar@...hat.com>, "Steinar H. Gunderson" <sesse@...gle.com>,
Guilherme Amadio <amadio@...too.org>, Leo Yan <leo.yan@....com>,
Yang Jihong <yangjihong@...edance.com>, Charlie Jenkins <charlie@...osinc.com>,
Jiri Olsa <jolsa@...nel.org>, linux-kernel@...r.kernel.org, bpf@...r.kernel.org
Subject: [PATCH v1] tools/build: Remove some unused libbpf pre-1.0 feature
test logic
Commit 76a97cf2e169 ("perf build: Remove libbpf pre-1.0 feature
tests") removed the libbpf feature test logic used by perf in favor of
using LIBBPF_MAJOR_VERSION. Remove some build targets that should have
been removed as part of that clean up.
Fixes: 76a97cf2e169 ("perf build: Remove libbpf pre-1.0 feature tests")
Signed-off-by: Ian Rogers <irogers@...gle.com>
---
tools/build/Makefile.feature | 6 ------
tools/build/feature/Makefile | 21 ---------------------
2 files changed, 27 deletions(-)
diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature
index 1f44ca677ad3..05f6671a2d07 100644
--- a/tools/build/Makefile.feature
+++ b/tools/build/Makefile.feature
@@ -127,12 +127,6 @@ FEATURE_TESTS_EXTRA := \
llvm \
clang \
libbpf \
- libbpf-btf__load_from_kernel_by_id \
- libbpf-bpf_prog_load \
- libbpf-bpf_object__next_program \
- libbpf-bpf_object__next_map \
- libbpf-bpf_program__set_insns \
- libbpf-bpf_create_map \
libpfm4 \
libdebuginfod \
clang-bpf-co-re \
diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile
index b8b5fb183dd4..4aa166d3eab6 100644
--- a/tools/build/feature/Makefile
+++ b/tools/build/feature/Makefile
@@ -339,27 +339,6 @@ $(OUTPUT)test-bpf.bin:
$(OUTPUT)test-libbpf.bin:
$(BUILD) -lbpf
-$(OUTPUT)test-libbpf-btf__load_from_kernel_by_id.bin:
- $(BUILD) -lbpf
-
-$(OUTPUT)test-libbpf-bpf_prog_load.bin:
- $(BUILD) -lbpf
-
-$(OUTPUT)test-libbpf-bpf_map_create.bin:
- $(BUILD) -lbpf
-
-$(OUTPUT)test-libbpf-bpf_object__next_program.bin:
- $(BUILD) -lbpf
-
-$(OUTPUT)test-libbpf-bpf_object__next_map.bin:
- $(BUILD) -lbpf
-
-$(OUTPUT)test-libbpf-bpf_program__set_insns.bin:
- $(BUILD) -lbpf
-
-$(OUTPUT)test-libbpf-btf__raw_data.bin:
- $(BUILD) -lbpf
-
$(OUTPUT)test-sdt.bin:
$(BUILD)
--
2.49.0.1204.g71687c7c1d-goog
Powered by blists - more mailing lists