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 NO_LIBCAP that controls nothing

Using libcap was removed in commit e25ebda78e230283 ("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: e25ebda78e230283 ("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>

authored by

Ian Rogers and committed by
Arnaldo Carvalho de Melo
169343cc e205952d

+1 -3
-2
tools/perf/Makefile.perf
··· 86 86 # 87 87 # Define NO_LIBBPF if you do not want BPF support 88 88 # 89 - # Define NO_LIBCAP if you do not want process capabilities considered by perf 90 - # 91 89 # Define NO_SDT if you do not want to define SDT event in perf tools, 92 90 # note that it doesn't disable SDT scanning support. 93 91 #
+1 -1
tools/perf/tests/make
··· 121 121 make_minimal += NO_LIBNUMA=1 NO_LIBBIONIC=1 NO_LIBDW=1 122 122 make_minimal += NO_LIBBPF=1 123 123 make_minimal += NO_SDT=1 NO_JVMTI=1 NO_LIBZSTD=1 124 - make_minimal += NO_LIBCAP=1 NO_CAPSTONE=1 124 + make_minimal += NO_CAPSTONE=1 125 125 126 126 # binutils 2_42 and newer have bfd_thread_init() 127 127 new_libbfd := $(shell echo '#include <bfd.h>' | $(CC) -E -x c - | grep bfd_thread_init)