Skip to content
/ linux Public

Commit b0ae7a8

Browse files
captain5050Sasha Levin
authored andcommitted
perf build: Remove NO_LIBCAP that controls nothing
[ Upstream commit 169343c ] Using libcap was removed in commit e25ebda ("perf cap: Tidy up and improve capability testing") and improve capability testing"), however, some build documentation and a use of the NO_LIBCAP=1 were lingering. Remove these left over bits. Fixes: e25ebda ("perf cap: Tidy up and improve capability testing") Signed-off-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@linaro.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 7f686fb commit b0ae7a8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tools/perf/Makefile.perf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ include ../scripts/utilities.mak
8888
#
8989
# Define NO_LIBBPF if you do not want BPF support
9090
#
91-
# Define NO_LIBCAP if you do not want process capabilities considered by perf
92-
#
9391
# Define NO_SDT if you do not want to define SDT event in perf tools,
9492
# note that it doesn't disable SDT scanning support.
9593
#

tools/perf/tests/make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ make_minimal += NO_DEMANGLE=1 NO_LIBELF=1 NO_BACKTRACE=1
123123
make_minimal += NO_LIBNUMA=1 NO_LIBBIONIC=1 NO_LIBDW=1
124124
make_minimal += NO_LIBDW_DWARF_UNWIND=1 NO_AUXTRACE=1 NO_LIBBPF=1
125125
make_minimal += NO_SDT=1 NO_JVMTI=1 NO_LIBZSTD=1
126-
make_minimal += NO_LIBCAP=1 NO_CAPSTONE=1
126+
make_minimal += NO_CAPSTONE=1
127127

128128
# $(run) contains all available tests
129129
run := make_pure

0 commit comments

Comments
 (0)