Skip to contentSkip to conversation

perf build: Remove NO_LIBCAP that controls nothing

PATCH Applied Ian Rogers 2 participants 2 messages Jan 30 – Feb 3 perf events

lore
Share & tools
lore

Ian Rogers

author reviewer
#0 lore raw

PATCH 1/1 perf build: Remove NO_LIBCAP that controls nothing

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")
---
 tools/perf/Makefile.perf | 2 --
 tools/perf/tests/make    | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
tools/perf/Makefile.perf +0 -2
index b6edc8100c8e..2a7e5814b159 100644
@@ -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.
 #
tools/perf/tests/make +1 -1
index 767ad9e147a8..0b16c9c81c7f 100644
@@ -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)
Signature · 1 line
2.53.0.rc1.225.gd81095ad13-goog
maintainer Applied
#1 lore raw
Quoted 4 lines · Ian Rogers

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