From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.198 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796237782; b=KJUDRo6r2f3VC7o8EhqCR3pwyj4MCVSP1U6IqWzSksAgNTw98qZIIv/fG7mdrKWMHImX fxwACHPrMGSyzO1ZzXAKpY9IUzqI/Y0xUWEUUzRrBiG7sNoKZEYLK+wwW/7g365qVIlRX QwHjMYC8FqUnNdaaZ3xyhfah6cmHd8G3i8Ouh4X9pz+tka5qNvEG4CqPqD5ccwDwYMuZU f7YYGVQAj7yXHo4L4WSz6q5IyTVYIZRvpFpk268GmnmiwwKXxXRaBf1/bwzDxkCV+xlnV uaKL+w6kBo/b0EYY5A/3U3SpEDc2yBgJ2WzAgDyGKyR4lt/80rPFCfWKMSTOLp4udqw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796237782; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:Mime-Version: X-Mailer:Message-ID:Subject:From:To:Cc:Content-Type; bh=AV2miuGBGXGD9kI+u0+uJvw+0n8FhciqUZFA0ddb+CY=; b=HeZoEugxhaJ3kENNRElIt9AuMQRC4mSmDSA3FvqxbaaIGNk6vqEbs1k0zfeyZErqUFMa BAQItq/4e76uYCKNLr8t/A55oA7sHovqwoyEv8jPbqXMWxKC/tF6ZgzMGD5hw7By68MJw 49oyL+xEJ+CED5EjlZD+30LkfJ6YIOiHLG4cj1zANgWfSBReeZjwsxJV+0NZuwV2O+K9u Wae/AGlb/NwFvjWGVP3GWbS4gs23Hempg666FiwXbbE/43B/wbi20VucDLeAbgEoF0PDb X8bxzgTbAz8qnGOr0NZ6Jk78uRIhnQlwn+ibGNNJ5wYrk9NAIHKLA39VVysxDNM+qYg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=CBnLNoq9; arc=none smtp.remote-ip=209.85.167.198 Received: from mail-oi1-f198.google.com (mail-oi1-f198.google.com [209.85.167.198]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54D47606A32C for ; Wed, 2 Dec 2026 18:56:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 54D47606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=CBnLNoq9 Received: by mail-oi1-f198.google.com with SMTP id 5614622812f47-4c55ba309c2so15459807b6e.1 for ; Wed, 02 Dec 2026 10:56:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796237780; x=1796842580; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:mime-version:date:from :to:cc:subject:date:message-id:reply-to:content-type; bh=AV2miuGBGXGD9kI+u0+uJvw+0n8FhciqUZFA0ddb+CY=; b=CBnLNoq9ULP3GVWEGOhnoQttkdm9f309MkeHEV2+6g/z1c2yHKWa89j2e2Gy30caMt 6XOjujnayoANFG+NFQTHVkH53rIIor32T3kKjYKdsAizDNwbl6BgwYibSwpr3qQRJiOT Uided08AFbFQxbgYpOy1eW2gZXLk+OC/9GKm1+AOu5G/KdFsZbQzORMHlG9Ne8zu96z+ c2Q++k9NaLg7u6UwKmIGkj3tVW7kex+CBtrfBoGx6CeSD1roUWg5Pse5QqB7SM1+g+Ez Fept4vuN4L7f+Qx1ljTNOI5wmXlqx0ESmIajYdbWomsjoz20OfVFFtGdwVKkFFrv5eUL Kbdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796237780; x=1796842580; h=content-type:cc:to:from:subject:message-id:mime-version:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=AV2miuGBGXGD9kI+u0+uJvw+0n8FhciqUZFA0ddb+CY=; b=h8DNffQ/31N7kQhZ3b05vQdmTx/LJl/2ZAIZQsU9cx+3oWsF0SZ3xGKSp/EACkq97E AFfkeh2HN048FJEwDSp7CKQsybGzQZ7Al0rE/o6aJkxfXaqJXpnSZhx4kozrCQA3CgPl 5Jshbp1VlxQ+65BJbdI1vEIzUe4mryZdnToQPPJ2QSEL7X6iztLd/KCVZO+796VkLPyB Z6Mib7/1nZGAvAvw/5O4TXU0UIzN7mSx7NdHFHVGOQ8MxYHaYKE2zfCUmB0TUlWz0UnP 0Pk3MzjY7c653aPOemXHGyYTb9FZdUG7Wqy9mrlAoqd3FeNi7VqozP4/qMdYX8Yj9RrC nnkQ== X-Forwarded-Encrypted: i=1; AL+hErH/lvGgiTcmwJedvwhoBm3j5KIz0ThGu6EVOC9ruGHctEX8Wm/B79WhKFhHg2zkLj9hcInQykowBKBYj4U31uoD@vger.kernel.org X-Gm-Message-State: APuU4Z/nJYNBrvbeHoxwFBsecpIs/uYyph2FQ607CWakbo6H2oQqyhip Ajkcf7ZeLlIsJEezbFsZftjoctZg+OAreGUDwWJrPw6DjwJH475vs7MbMd2NTvk3Z2Y5iPvZzI5 ZBbnqkRJDPQ== X-Received: from oabzz21.prod.google.com ([2002:a05:6871:8f15:b0:4ad:5f33:773a]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6808:c3d7:b0:4f5:eaac:517a with SMTP id 5614622812f47-57a07d19cd4mr42745823b6e.1.1796237779957; Wed, 02 Dec 2026 10:56:19 -0800 (PST) Date: Wed, 2 Dec 2026 10:56:14 -0800 X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 X-Mailer: git-send-email 2.56.1.911.g883d8bcb20-goog Message-ID: <20261202185614.3421941-1-irogers@google.com> Subject: [PATCH v1] perf build: Mention NO_* and BUILD_BPF_SKEL=0 flags in build messages From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim Cc: Jiri Olsa , Adrian Hunter , James Clark , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, Ian Rogers Content-Type: text/plain; charset="UTF-8" A few errors in Makefile.config (libelf, libtraceevent, jevents, and old Python) already mention the corresponding NO_*=1 flag, but most optional dependency warnings and several errors only suggest installing the missing package. Mentioning the disable flag directly in each message avoids having to grep the Makefiles when building without those dependencies. Update Makefile.config and Makefile.perf to mention the corresponding flag in optional dependency warnings and errors: - NO_BABELTRACE2=1, NO_LIBTRACEEVENT=1, NO_LIBBPF=1, and NO_RUST=1 in the remaining optional $(error ...) messages. - NO_LIBDW=1, NO_LIBDEBUGINFOD=1, NO_LIBBPF=1, NO_SDT=1, BUILD_BPF_SKEL=0, NO_SLANG=1, NO_PYTHON_MODULE=1, NO_LIBLLVM=1, NO_LZMA=1, NO_LIBZSTD=1, NO_LIBNUMA=1, NO_BABELTRACE2=1, NO_CAPSTONE=1, NO_JVMTI=1, NO_LIBPFM4=1, NO_RUST=1, and NO_PYLINT=1 in the corresponding $(warning ...) messages. Also document NO_JEVENTS=1, NO_LIBLLVM, and NO_RUST in the top-of-file option comments of Makefile.perf, and fix the LIBUNWIND comment which still described it as opt-out after commit 13e17c9ff491 ("perf build: Make libunwind opt-in rather than opt-out"). Suggested-by: Peter Zijlstra Link: https://lore.kernel.org/all/20261202141307.GL2883950@noisy.programming.kicks-ass.net/ Signed-off-by: Ian Rogers --- tools/perf/Makefile.config | 66 +++++++++++++++++++------------------- tools/perf/Makefile.perf | 10 ++++-- 2 files changed, 41 insertions(+), 35 deletions(-) diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index aed2e952c8f3..ba919b6681b8 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -200,7 +200,7 @@ FEATURE_CHECK_LDFLAGS-libdw := $(LIBDW_LDFLAGS) $(DWARFLIBS) ifneq ($(NO_BABELTRACE2),1) ifeq ($(call get-executable,$(PKG_CONFIG)),) - $(error Error: $(PKG_CONFIG) needed by babeltrace2 is missing on this system, please install it) + $(error Error: $(PKG_CONFIG) needed by babeltrace2 is missing on this system, please install it or build with NO_BABELTRACE2=1) endif endif @@ -225,7 +225,7 @@ FEATURE_CHECK_LDFLAGS-libzstd := $(LIBZSTD_LDFLAGS) ifneq ($(NO_LIBTRACEEVENT),1) ifeq ($(call get-executable,$(PKG_CONFIG)),) - $(error Error: $(PKG_CONFIG) needed by libtraceevent is missing on this system, please install it) + $(error Error: $(PKG_CONFIG) needed by libtraceevent is missing on this system, please install it or build with NO_LIBTRACEEVENT=1) endif endif @@ -486,7 +486,7 @@ else else ifneq ($(feature-libdw), 1) ifndef NO_LIBDW - $(warning No libdw.h found or old libdw.h found or elfutils is older than 0.160, disables dwarf support. Please install new elfutils-devel/libdw-dev) + $(warning No libdw.h found or old libdw.h found or elfutils is older than 0.160, disables dwarf support. Please install new elfutils-devel/libdw-dev or build with NO_LIBDW=1) NO_LIBDW := 1 endif endif # Dwarf support @@ -578,7 +578,7 @@ ifndef NO_LIBELF CFLAGS += -DHAVE_DEBUGINFOD_SUPPORT EXTLIBS += -ldebuginfod else - $(warning No elfutils/debuginfod.h found, no debuginfo server support, please install libdebuginfod-dev/elfutils-debuginfod-client-devel or equivalent) + $(warning No elfutils/debuginfod.h found, no debuginfo server support, please install libdebuginfod-dev/elfutils-debuginfod-client-devel or equivalent, or build with NO_LIBDEBUGINFOD=1) endif endif @@ -599,11 +599,11 @@ ifndef NO_LIBELF $(call detected,CONFIG_LIBBPF) $(call detected,CONFIG_LIBBPF_DYNAMIC) else - $(error Error: No libbpf devel library found or older than v1.0, please install/update libbpf-devel) + $(error Error: No libbpf devel library found or older than v1.0, please install/update libbpf-devel or build with NO_LIBBPF=1) endif else ifeq ($(NO_ZLIB), 1) - $(warning Warning: Statically building libbpf not possible as zlib is missing) + $(warning Warning: Statically building libbpf not possible as zlib is missing, build with NO_LIBBPF=1 to silence) NO_LIBBPF := 1 else # Libbpf will be built as a static library from tools/lib/bpf. @@ -619,7 +619,7 @@ endif # NO_LIBELF ifndef NO_SDT ifneq ($(feature-sdt), 1) - $(warning No sys/sdt.h found, no SDT events are defined, please install systemtap-sdt-devel or systemtap-sdt-dev) + $(warning No sys/sdt.h found, no SDT events are defined, please install systemtap-sdt-devel or systemtap-sdt-dev, or build with NO_SDT=1) NO_SDT := 1; else CFLAGS += -DHAVE_SDT_EVENT @@ -642,7 +642,7 @@ endif ifndef NO_LIBBPF ifneq ($(feature-bpf), 1) - $(warning BPF API too old. Please install recent kernel headers. BPF support in 'perf record' is disabled.) + $(warning BPF API too old. Please install recent kernel headers or build with NO_LIBBPF=1. BPF support in 'perf record' is disabled.) NO_LIBBPF := 1 endif endif @@ -660,16 +660,16 @@ endif ifeq ($(BUILD_BPF_SKEL),1) ifeq ($(filter -DHAVE_LIBELF_SUPPORT, $(CFLAGS)),) - $(warning Warning: Disabled BPF skeletons as libelf is required by bpftool) + $(warning Warning: Disabled BPF skeletons as libelf is required by bpftool, build with BUILD_BPF_SKEL=0 to silence) BUILD_BPF_SKEL := 0 else ifeq ($(filter -DHAVE_ZLIB_SUPPORT, $(CFLAGS)),) - $(warning Warning: Disabled BPF skeletons as zlib is required by bpftool) + $(warning Warning: Disabled BPF skeletons as zlib is required by bpftool, build with BUILD_BPF_SKEL=0 to silence) BUILD_BPF_SKEL := 0 else ifeq ($(filter -DHAVE_LIBBPF_SUPPORT, $(CFLAGS)),) - $(warning Warning: Disabled BPF skeletons as libbpf is required) + $(warning Warning: Disabled BPF skeletons as libbpf is required, build with BUILD_BPF_SKEL=0 to silence) BUILD_BPF_SKEL := 0 else ifeq ($(filter -DHAVE_LIBOPENSSL_SUPPORT, $(CFLAGS)),) - $(warning Warning: Disabled BPF skeletons as libopenssl is required) + $(warning Warning: Disabled BPF skeletons as libopenssl is required, build with BUILD_BPF_SKEL=0 to silence) BUILD_BPF_SKEL := 0 endif ifeq ($(BUILD_BPF_SKEL),1) @@ -730,15 +730,15 @@ ifeq ($(BUILD_BPF_SKEL),1) CFLAGS += -DHAVE_BPF_SKEL else ifeq ($(call get-executable,$(CLANG))$(call get-executable,$(BPF_GCC)),) - $(warning Warning: Disabled BPF skeletons as clang ($(CLANG)) and bpf-gcc ($(BPF_GCC)) are missing) + $(warning Warning: Disabled BPF skeletons as clang ($(CLANG)) and bpf-gcc ($(BPF_GCC)) are missing, build with BUILD_BPF_SKEL=0 to silence) else ifneq ($(call get-executable,$(CLANG)),) ifeq ($(call version-lt3,$(CLANG_VERSION),12.0.1),1) - $(warning Warning: Disabled BPF skeletons as reliable BTF generation needs at least $(CLANG) version 12.0.1) + $(warning Warning: Disabled BPF skeletons as reliable BTF generation needs at least $(CLANG) version 12.0.1, build with BUILD_BPF_SKEL=0 to silence) else - $(warning Warning: Disabled BPF skeletons as clang is too old) + $(warning Warning: Disabled BPF skeletons as clang is too old, build with BUILD_BPF_SKEL=0 to silence) endif else - $(warning Warning: Disabled BPF skeletons as bpf-gcc ($(BPF_GCC)) needs at least version 14.0.0) + $(warning Warning: Disabled BPF skeletons as bpf-gcc ($(BPF_GCC)) needs at least version 14.0.0, build with BUILD_BPF_SKEL=0 to silence) endif BUILD_BPF_SKEL := 0 endif @@ -831,7 +831,7 @@ endif ifndef NO_SLANG ifneq ($(feature-libslang), 1) - $(warning slang not found, disables TUI support. Please install slang-devel, libslang-dev or libslang2-dev) + $(warning slang not found, disables TUI support. Please install slang-devel, libslang-dev or libslang2-dev, or build with NO_SLANG=1) NO_SLANG := 1 endif ifndef NO_SLANG @@ -888,16 +888,16 @@ ifdef NO_PYTHON_MODULE else ifndef PYTHON - $(call disable-python,No python interpreter was found: disables Python support - please install python-devel/python-dev) + $(call disable-python,No python interpreter was found: disables Python support - please install python-devel/python-dev or build with NO_PYTHON_MODULE=1) else PYTHON_WORD := $(call shell-wordify,$(PYTHON)) ifndef PYTHON_CONFIG - $(call disable-python,No 'python-config' tool was found: disables Python support - please install python-devel/python-dev) + $(call disable-python,No 'python-config' tool was found: disables Python support - please install python-devel/python-dev or build with NO_PYTHON_MODULE=1) else ifneq ($(feature-python-module), 1) - $(call disable-python,No 'Python.h' was found: disables Python support - please install python-devel/python-dev) + $(call disable-python,No 'Python.h' was found: disables Python support - please install python-devel/python-dev or build with NO_PYTHON_MODULE=1) else # The binding is built even when jevents generation is turned off # with NO_JEVENTS=1, which skips the check in that block below, so @@ -916,7 +916,7 @@ else endif LANG_BINDINGS += $(obj-perf)python/perf$(PYTHON_EXTENSION_SUFFIX) else - $(warning Missing python setuptools, the python binding won't be built, please install python3-setuptools or equivalent) + $(warning Missing python setuptools, the python binding won't be built, please install python3-setuptools or equivalent, or build with NO_PYTHON_MODULE=1) endif ifeq ($(filter -fPIC,$(CFLAGS)),) # Building a shared library requires position independent code. @@ -998,7 +998,7 @@ ifndef NO_LIBLLVM EXTLIBS += -lstdc++ $(call detected,CONFIG_LIBLLVM) else - $(warning No libllvm 13+ found, slower source file resolution, please install llvm-devel/llvm-dev) + $(warning No libllvm 13+ found, slower source file resolution, please install llvm-devel/llvm-dev or build with NO_LIBLLVM=1) NO_LIBLLVM := 1 endif endif @@ -1031,7 +1031,7 @@ ifndef NO_LZMA EXTLIBS += -llzma $(call detected,CONFIG_LZMA) else - $(warning No liblzma found, disables xz kernel module decompression, please install xz-devel/liblzma-dev) + $(warning No liblzma found, disables xz kernel module decompression, please install xz-devel/liblzma-dev or build with NO_LZMA=1) NO_LZMA := 1 endif endif @@ -1044,7 +1044,7 @@ ifndef NO_LIBZSTD EXTLIBS += -lzstd $(call detected,CONFIG_ZSTD) else - $(warning No libzstd found, disables trace compression, please install libzstd-dev[el] and/or set LIBZSTD_DIR) + $(warning No libzstd found, disables trace compression, please install libzstd-dev[el] and/or set LIBZSTD_DIR, or build with NO_LIBZSTD=1) NO_LIBZSTD := 1 endif endif @@ -1057,11 +1057,11 @@ endif ifndef NO_LIBNUMA ifeq ($(feature-libnuma), 0) - $(warning No numa.h found, disables 'perf bench numa mem' benchmark, please install numactl-devel/libnuma-devel/libnuma-dev) + $(warning No numa.h found, disables 'perf bench numa mem' benchmark, please install numactl-devel/libnuma-devel/libnuma-dev or build with NO_LIBNUMA=1) NO_LIBNUMA := 1 else ifeq ($(feature-numa_num_possible_cpus), 0) - $(warning Old numa library found, disables 'perf bench numa mem' benchmark, please install numactl-devel/libnuma-devel/libnuma-dev >= 2.0.8) + $(warning Old numa library found, disables 'perf bench numa mem' benchmark, please install numactl-devel/libnuma-devel/libnuma-dev >= 2.0.8 or build with NO_LIBNUMA=1) NO_LIBNUMA := 1 else CFLAGS += -DHAVE_LIBNUMA_SUPPORT @@ -1104,7 +1104,7 @@ ifndef NO_BABELTRACE2 EXTLIBS += $(shell $(PKG_CONFIG) --libs-only-l babeltrace2-ctf-writer) $(call detected,CONFIG_BABELTRACE2_CTF_WRITER) else - $(warning No babeltrace2 found, disables 'perf data' CTF format support, please install libbabeltrace2-dev[el]) + $(warning No babeltrace2 found, disables 'perf data' CTF format support, please install libbabeltrace2-dev[el] or build with NO_BABELTRACE2=1) endif endif @@ -1120,7 +1120,7 @@ ifndef NO_CAPSTONE endif $(call detected,CONFIG_LIBCAPSTONE) else - msg := $(warning No libcapstone found, disables disasm engine support for 'perf script', please install libcapstone-dev/capstone-devel); + msg := $(warning No libcapstone found, disables disasm engine support for 'perf script', please install libcapstone-dev/capstone-devel or build with NO_CAPSTONE=1); endif endif @@ -1138,7 +1138,7 @@ ifndef NO_JVMTI endif endif ifndef JDIR - $(warning No alternatives command found, you need to set JDIR= to point to the root of your Java directory) + $(warning No alternatives command found, you need to set JDIR= to point to the root of your Java directory or build with NO_JVMTI=1) NO_JVMTI := 1 endif endif @@ -1156,7 +1156,7 @@ ifndef NO_JVMTI endif endif # NO_JVMTI_CMLR else - $(warning No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-latest-openjdk-devel) + $(warning No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-latest-openjdk-devel, or build with NO_JVMTI=1) NO_JVMTI := 1 endif endif @@ -1169,7 +1169,7 @@ ifndef NO_LIBPFM4 ASCIIDOC_EXTRA = -aHAVE_LIBPFM=1 $(call detected,CONFIG_LIBPFM4) else - $(warning libpfm4 not found, disables libpfm4 support. Please install libpfm-devel or libpfm4-dev) + $(warning libpfm4 not found, disables libpfm4 support. Please install libpfm-devel or libpfm4-dev, or build with NO_LIBPFM4=1) endif endif @@ -1194,7 +1194,7 @@ endif ifndef NO_RUST $(call feature_check,rust) ifneq ($(feature-rust), 1) - $(warning Rust is not found. Test workloads with rust are disabled.) + $(warning Rust is not found. Test workloads with rust are disabled. Please install rustc or build with NO_RUST=1.) NO_RUST := 1 else NO_RUST := 0 @@ -1215,7 +1215,7 @@ ifndef NO_RUST RUST_TARGET_FLAGS_x86_64 := x86_64-unknown-linux-gnu ifeq ($(RUST_TARGET_FLAGS_$(ARCH)),) - $(error Unknown rust cross compilation architecture $(ARCH)) + $(error Unknown rust cross compilation architecture $(ARCH), build with NO_RUST=1 to disable) endif RUST_FLAGS += --target=$(RUST_TARGET_FLAGS_$(ARCH)) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 977c937f3086..46cb5b82116d 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -57,7 +57,7 @@ include ../scripts/utilities.mak # # Define NO_LIBELF if you do not want libelf dependency (e.g. cross-builds) # -# Define LIBUNWIND if you do not want libunwind dependency for dwarf +# Define LIBUNWIND=1 if you want libunwind dependency for dwarf # backtrace post unwind. # # Define NO_BACKTRACE if you do not want stack backtrace debug feature @@ -132,6 +132,12 @@ include ../scripts/utilities.mak # Define NO_MYPY if you do not want to run mypy during build # # Define NO_PYLINT if you do not want to run pylint during build +# +# Define NO_JEVENTS=1 if you do not want to generate pmu-events from json files. +# +# Define NO_LIBLLVM if you do not want libLLVM support. +# +# Define NO_RUST if you do not want Rust test workloads. # As per kernel Makefile, avoid funny character set dependencies unexport LC_ALL @@ -315,7 +321,7 @@ ifneq ($(force_fixdep),1) ifneq ($(PYLINT),) ifneq ($(shell $(PYLINT) --version 2>/dev/null | \ awk '/^pylint / { split($$2, v, "."); print (v[1]+0 > 2 || (v[1]+0 == 2 && v[2]+0 >= 16)) }'), 1) - $(warning Warning: pylint version is older than 2.16.0, skipping pylint checks.) + $(warning Warning: pylint version is older than 2.16.0, skipping pylint checks. Build with NO_PYLINT=1 to silence.) override PYLINT := else override PYLINT := PYTHONPATH=$(srctree)/tools/perf/python:$(srctree)/tools/perf/pmu-events \ -- 2.56.1.911.g883d8bcb20-goog