* [PATCH v1] perf build: Remove NO_LIBCAP that controls nothing
@ 2026-01-30 23:35 Ian Rogers
2026-02-03 14:33 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 2+ messages in thread
From: Ian Rogers @ 2026-01-30 23:35 UTC (permalink / raw)
To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
Namhyung Kim, Alexander Shishkin, Jiri Olsa, Ian Rogers,
Adrian Hunter, James Clark, linux-perf-users, linux-kernel
Using libcap was removed in commit e25ebda78e23 ("perf cap: Tidy up
and improve capability testing"), however, some build documentation
and a use of the NO_LIBCAP=1 were lingering. Remove these left over
bits.
Fixes: e25ebda78e23 ("perf cap: Tidy up and improve capability testing")
Signed-off-by: Ian Rogers <irogers@google.com>
---
tools/perf/Makefile.perf | 2 --
tools/perf/tests/make | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index b6edc8100c8e..2a7e5814b159 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -86,8 +86,6 @@ include ../scripts/utilities.mak
#
# Define NO_LIBBPF if you do not want BPF support
#
-# Define NO_LIBCAP if you do not want process capabilities considered by perf
-#
# Define NO_SDT if you do not want to define SDT event in perf tools,
# note that it doesn't disable SDT scanning support.
#
diff --git a/tools/perf/tests/make b/tools/perf/tests/make
index 767ad9e147a8..0b16c9c81c7f 100644
--- a/tools/perf/tests/make
+++ b/tools/perf/tests/make
@@ -121,7 +121,7 @@ make_minimal += NO_DEMANGLE=1 NO_LIBELF=1 NO_BACKTRACE=1
make_minimal += NO_LIBNUMA=1 NO_LIBBIONIC=1 NO_LIBDW=1
make_minimal += NO_LIBBPF=1
make_minimal += NO_SDT=1 NO_JVMTI=1 NO_LIBZSTD=1
-make_minimal += NO_LIBCAP=1 NO_CAPSTONE=1
+make_minimal += NO_CAPSTONE=1
# binutils 2_42 and newer have bfd_thread_init()
new_libbfd := $(shell echo '#include <bfd.h>' | $(CC) -E -x c - | grep bfd_thread_init)
--
2.53.0.rc1.225.gd81095ad13-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH v1] perf build: Remove NO_LIBCAP that controls nothing
2026-01-30 23:35 [PATCH v1] perf build: Remove NO_LIBCAP that controls nothing Ian Rogers
@ 2026-02-03 14:33 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2026-02-03 14:33 UTC (permalink / raw)
To: Ian Rogers
Cc: Peter Zijlstra, Ingo Molnar, Namhyung Kim, Alexander Shishkin,
Jiri Olsa, Adrian Hunter, James Clark, linux-perf-users,
linux-kernel
On Fri, Jan 30, 2026 at 03:35:39PM -0800, Ian Rogers wrote:
> Using libcap was removed in commit e25ebda78e23 ("perf cap: Tidy up
> and improve capability testing"), however, some build documentation
> and a use of the NO_LIBCAP=1 were lingering. Remove these left over
> bits.
Thanks, applied to perf-tools-next,
- Arnaldo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-03 14:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-30 23:35 [PATCH v1] perf build: Remove NO_LIBCAP that controls nothing Ian Rogers
2026-02-03 14:33 ` Arnaldo Carvalho de Melo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox