From nobody Wed Dec 17 08:57:09 2025 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BA2E224FD; Fri, 12 Jul 2024 19:45:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720813536; cv=none; b=UhEdTIaQlTVbaaWE3TVr0r8L0Jl1B3EC+zzjRqzGcmUh0Tvc86stLONcYWtF65BPBXpwdikyTUCI3DgeYPfTsiD3LBJnABtW9XjngIzY6v4201u3gOiEyEGkaOnQ+ynskei7kRVeyomC4oOaxi5FwI4Sp3GQUlctHxmvVuRwkIY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720813536; c=relaxed/simple; bh=qlY3ce3aTLN3a11GeVfOh1OUSwpc/UT6wsLeukSXBB0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ogha5dppQl6kAUP7nKLWvmH4RwfTTr3IrVbWQHxF5AxyesYLvc2ycj1ppXNvQzMDosPvkNbOtjmZNiTvqDYAavLto9D5XBFaV74QmnOWle5cF7i4Xe4JheHzDt6jXjc1Dyx1PP1H+ir7MER4za+XpeErvQMR/AKwaKszqd+AEn4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org; spf=pass smtp.mailfrom=gentoo.org; arc=none smtp.client-ip=140.211.166.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gentoo.org From: Guilherme Amadio To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Ian Rogers , Thorsten Leemhuis , Leo Yan , linux-perf-users@vger.kernel.org, Linux Kernel Mailing List , Guilherme Amadio Subject: [PATCH v3 1/5] perf build: Warn if libtracefs is not found Date: Fri, 12 Jul 2024 21:40:46 +0200 Message-ID: <20240712194511.3973899-2-amadio@gentoo.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240712194511.3973899-1-amadio@gentoo.org> References: <20240712194511.3973899-1-amadio@gentoo.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Signed-off-by: Guilherme Amadio Acked-by: Steven Rostedt (Google) Tested-by: Leo Yan Tested-by: Thorsten Leemhuis --- tools/perf/Makefile.config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index a4829b6532d8..44f010b9f562 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -1206,6 +1206,8 @@ ifneq ($(NO_LIBTRACEEVENT),1) LIBTRACEFS_VERSION_3 :=3D $(word 3, $(subst ., ,$(LIBTRACEFS_VERSION))) LIBTRACEFS_VERSION_CPP :=3D $(shell expr $(LIBTRACEFS_VERSION_1) \* 25= 5 \* 255 + $(LIBTRACEFS_VERSION_2) \* 255 + $(LIBTRACEFS_VERSION_3)) CFLAGS +=3D -DLIBTRACEFS_VERSION=3D$(LIBTRACEFS_VERSION_CPP) + else + $(warning libtracefs is missing. Please install libtracefs-dev/libtrac= efs-devel) endif endif =20 --=20 2.45.2 From nobody Wed Dec 17 08:57:09 2025 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB4833CF73; Fri, 12 Jul 2024 19:45:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720813538; cv=none; b=QYQtjyNHyDfZSJ5ga4Lbc18U+RzYy7tTLIJvSjjvh8KA91vQfqI9sqxCS1Q5ca9k7YTP7khB4aadSVdtjB+BMjEjng+GydZAoaiiYjX3vAMNaX7HMiwvPsp9tjMNgE2ZCbTHLNalXamfY6aV2MmJonahwIXccryVQ3VSSXnwhks= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720813538; c=relaxed/simple; bh=UMrtHpRglXiRcoXLUecsnQQUiI2xFXvCAxxgtcGDmXk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rFyRNu+6hndZojin+dILIjsDQiAaKu9TdWgYgH1y438k2Olweh76MFLaAo+5hxMVCcCjkY2ooyZHC+MrfDO6tCgjcK0UvmhhCUQAbDY5cTYHwkgpeNc3s1nh4mvyecfLYwsgyZp0s6kAUQpXeF0Zye3lH1wn8i0V9uoafrxbVyM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org; spf=pass smtp.mailfrom=gentoo.org; arc=none smtp.client-ip=140.211.166.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gentoo.org From: Guilherme Amadio To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Ian Rogers , Thorsten Leemhuis , Leo Yan , linux-perf-users@vger.kernel.org, Linux Kernel Mailing List , Guilherme Amadio Subject: [PATCH v3 2/5] tools: Make pkg-config dependency checks usable by other tools Date: Fri, 12 Jul 2024 21:40:47 +0200 Message-ID: <20240712194511.3973899-3-amadio@gentoo.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240712194511.3973899-1-amadio@gentoo.org> References: <20240712194511.3973899-1-amadio@gentoo.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Other tools, in tools/verification and tools/tracing, make use of libtraceevent and libtracefs as dependencies. This allows setting up the feature check flags for them as well. Signed-off-by: Guilherme Amadio Acked-by: Steven Rostedt (Google) Tested-by: Leo Yan Tested-by: Thorsten Leemhuis --- tools/build/Makefile.feature | 18 ++++++++++++++++++ tools/perf/Makefile.config | 11 +++-------- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/tools/build/Makefile.feature b/tools/build/Makefile.feature index 1e2ab148d5db..e1900abd44f6 100644 --- a/tools/build/Makefile.feature +++ b/tools/build/Makefile.feature @@ -149,6 +149,24 @@ FEATURE_DISPLAY ?=3D \ # FEATURE_GROUP_MEMBERS-libbfd =3D libbfd-liberty libbfd-liberty-z =20 +# +# Declare list of feature dependency packages that provide pkg-config file= s. +# +FEATURE_PKG_CONFIG ?=3D \ + libtraceevent \ + libtracefs + +feature_pkg_config =3D $(eval $(feature_pkg_config_code)) +define feature_pkg_config_code + FEATURE_CHECK_CFLAGS-$(1) :=3D $(shell $(PKG_CONFIG) --cflags $(1) 2>/de= v/null) + FEATURE_CHECK_LDFLAGS-$(1) :=3D $(shell $(PKG_CONFIG) --libs $(1) 2>/dev= /null) +endef + +# Set FEATURE_CHECK_(C|LD)FLAGS-$(package) for packages using pkg-config. +ifneq ($(PKG_CONFIG),) + $(foreach package,$(FEATURE_PKG_CONFIG),$(call feature_pkg_config,$(pack= age))) +endif + # Set FEATURE_CHECK_(C|LD)FLAGS-all for all FEATURE_TESTS features. # If in the future we need per-feature checks/flags for features not # mentioned in this list we need to refactor this ;-). diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config index 44f010b9f562..c896babf7a74 100644 --- a/tools/perf/Makefile.config +++ b/tools/perf/Makefile.config @@ -182,20 +182,15 @@ endif FEATURE_CHECK_CFLAGS-libzstd :=3D $(LIBZSTD_CFLAGS) FEATURE_CHECK_LDFLAGS-libzstd :=3D $(LIBZSTD_LDFLAGS) =20 +# for linking with debug library, run like: +# make DEBUG=3D1 PKG_CONFIG_PATH=3D/opt/libtraceevent/(lib|lib64)/pkgconfig + ifneq ($(NO_LIBTRACEEVENT),1) ifeq ($(call get-executable,$(PKG_CONFIG)),) $(error Error: $(PKG_CONFIG) needed by libtraceevent is missing on thi= s system, please install it) endif endif =20 -# for linking with debug library, run like: -# make DEBUG=3D1 PKG_CONFIG_PATH=3D/opt/libtraceevent/(lib|lib64)/pkgconfig -FEATURE_CHECK_CFLAGS-libtraceevent :=3D $(shell $(PKG_CONFIG) --cflags lib= traceevent 2>/dev/null) -FEATURE_CHECK_LDFLAGS-libtraceevent :=3D $(shell $(PKG_CONFIG) --libs libt= raceevent 2>/dev/null) - -FEATURE_CHECK_CFLAGS-libtracefs :=3D $(shell $(PKG_CONFIG) --cflags libtra= cefs 2>/dev/null) -FEATURE_CHECK_LDFLAGS-libtracefs :=3D $(shell $(PKG_CONFIG) --libs libtrac= efs 2>/dev/null) - FEATURE_CHECK_CFLAGS-bpf =3D -I. -I$(srctree)/tools/include -I$(srctree)/t= ools/arch/$(SRCARCH)/include/uapi -I$(srctree)/tools/include/uapi # include ARCH specific config -include $(src-perf)/arch/$(SRCARCH)/Makefile --=20 2.45.2 From nobody Wed Dec 17 08:57:09 2025 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9551A45C1C; Fri, 12 Jul 2024 19:45:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720813539; cv=none; b=pn76erY5weP7u38sfn7BhP2JLnnjt6qEL2Kn0X3Lzje5COlhNDURoBamBDbBeWKuMdvHWhHE7dSrNSceezDdtsXTavY1a+/W1tB1ckBoNNxUJGHMgMXpnvvmpOXrcvXp8L/T9kz+2S9oWMUHsX31I3wr/KbNP4B2hdRFMNW3y68= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720813539; c=relaxed/simple; bh=qLk1Nx3+6Nf4dSawq50Swo8NMyunKff2l6NNw0/rYxw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MeHOf8gPHnraArPjgQpoWMmmM/+fMC4YGVmAyXdbEqfmr6I9ueTqSnuv/UvwJc/ZxSlrsq+fN+0WCXEjQVxv7sEZhFh4s7Ha8QnyOoY3WFgvWiOWyhy+SJkO1AaqiK/iAL42cBpwntUhEwjqJGzgKD3ryKpkVaFuFNf6oITxqAI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org; spf=pass smtp.mailfrom=gentoo.org; arc=none smtp.client-ip=140.211.166.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gentoo.org From: Guilherme Amadio To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Ian Rogers , Thorsten Leemhuis , Leo Yan , linux-perf-users@vger.kernel.org, Linux Kernel Mailing List , Guilherme Amadio Subject: [PATCH v3 3/5] tools/verification: Use pkg-config in lib_setup of Makefile.config Date: Fri, 12 Jul 2024 21:40:48 +0200 Message-ID: <20240712194511.3973899-4-amadio@gentoo.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240712194511.3973899-1-amadio@gentoo.org> References: <20240712194511.3973899-1-amadio@gentoo.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This allows to build against libtraceevent and libtracefs installed in non-standard locations. Signed-off-by: Guilherme Amadio Acked-by: Steven Rostedt (Google) Tested-by: Leo Yan Tested-by: Thorsten Leemhuis --- tools/verification/rv/Makefile.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/verification/rv/Makefile.config b/tools/verification/rv/= Makefile.config index 6d4ba77847b6..066302230eb2 100644 --- a/tools/verification/rv/Makefile.config +++ b/tools/verification/rv/Makefile.config @@ -7,7 +7,8 @@ LIBTRACEFS_MIN_VERSION =3D 1.3 =20 define lib_setup $(eval LIB_INCLUDES +=3D $(shell sh -c "$(PKG_CONFIG) --cflags lib$(1)")) - $(eval EXTLIBS +=3D -l$(1)) + $(eval LDFLAGS +=3D $(shell sh -c "$(PKG_CONFIG) --libs-only-L lib$(1)")) + $(eval EXTLIBS +=3D $(shell sh -c "$(PKG_CONFIG) --libs-only-l lib$(1)")) endef =20 $(call feature_check,libtraceevent) --=20 2.45.2 From nobody Wed Dec 17 08:57:09 2025 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 563BC4963C; Fri, 12 Jul 2024 19:45:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720813541; cv=none; b=P/7pMl+bq+Gt3NhCrP/tvXMsGicQq17N1fx5kfJfDglM07nNOf+/W8oeekXdneiuMTG/YU4fhkVIrP+Nboc5QSTCGArV7cPFsxJwXZq9vQYfVR1E5kcLqUGyjnt2YSKUHGmqtJDS75Uhu5mkmgkcdkR9gP9FWxS2vzZeagyIIzA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720813541; c=relaxed/simple; bh=Z04U1ZXfxS+bYK5z/ONreK5ewQ50GaYHpXHXQORZkrs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=H9cSc5t8mZFKsXIifCg/B9wNHHFNEpisUR3brQkAzyFR8vskTCvaO/JZlIpk8kZZs4b33M9Wu2hXFIDIR/wu3DNYGAtna5qvsLm8rRLvScmSDPmCxpf96Tqp96s6T79/DyDJ5qEJd+kxdEJbL5QIfZ7QG4deTywYo6nT8JrfWnc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org; spf=pass smtp.mailfrom=gentoo.org; arc=none smtp.client-ip=140.211.166.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gentoo.org From: Guilherme Amadio To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Ian Rogers , Thorsten Leemhuis , Leo Yan , linux-perf-users@vger.kernel.org, Linux Kernel Mailing List , Guilherme Amadio Subject: [PATCH v3 4/5] tools/rtla: Use pkg-config in lib_setup of Makefile.config Date: Fri, 12 Jul 2024 21:40:49 +0200 Message-ID: <20240712194511.3973899-5-amadio@gentoo.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240712194511.3973899-1-amadio@gentoo.org> References: <20240712194511.3973899-1-amadio@gentoo.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This allows to build against libtraceevent and libtracefs installed in non-standard locations. Signed-off-by: Guilherme Amadio Acked-by: Steven Rostedt (Google) Tested-by: Leo Yan Tested-by: Thorsten Leemhuis --- tools/tracing/rtla/Makefile.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/tracing/rtla/Makefile.config b/tools/tracing/rtla/Makefi= le.config index 0b7ecfb30d19..5f8c286712d4 100644 --- a/tools/tracing/rtla/Makefile.config +++ b/tools/tracing/rtla/Makefile.config @@ -7,7 +7,8 @@ LIBTRACEFS_MIN_VERSION =3D 1.6 =20 define lib_setup $(eval LIB_INCLUDES +=3D $(shell sh -c "$(PKG_CONFIG) --cflags lib$(1)")) - $(eval EXTLIBS +=3D -l$(1)) + $(eval LDFLAGS +=3D $(shell sh -c "$(PKG_CONFIG) --libs-only-L lib$(1)")) + $(eval EXTLIBS +=3D $(shell sh -c "$(PKG_CONFIG) --libs-only-l lib$(1)")) endef =20 $(call feature_check,libtraceevent) --=20 2.45.2 From nobody Wed Dec 17 08:57:09 2025 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B09504AED4; Fri, 12 Jul 2024 19:45:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720813542; cv=none; b=JFTfEywPHpCVAQGrMMh22hxS7uXL/Y0x3p1QtHJyoFm1Mae0+rs5tmkhnJJvv6Ip+mKBT0dGYq02IR5F/x6piDahvSxfMF0zRNYDJ6BMjtvOPhqhtvfax5qcV7pySEaUilb+usX4/XUVSVILYOA0gZOcfapz+ZGdcBjRy5QFABk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720813542; c=relaxed/simple; bh=zXYoxhyxzG75t94bhKBw7qFADYigSajJzXH4xK6fVWQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=o+wVQpfy98PLUphIIBUJgfyNAtX+DTwV69ASoBdZpGKMXAjV2Z071JMRsH53mk2Btg9BIcw1MX3pyJPUQtSJ2xTwHXVM5REGRBSW5H2SVrUKusJvMW5ZCFu2t/GScFZ2D9/aKnQUtscW+/7/gjokkyLumrnEPyIe3UDWUqZmabA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org; spf=pass smtp.mailfrom=gentoo.org; arc=none smtp.client-ip=140.211.166.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gentoo.org From: Guilherme Amadio To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Ian Rogers , Thorsten Leemhuis , Leo Yan , linux-perf-users@vger.kernel.org, Linux Kernel Mailing List , Guilherme Amadio Subject: [PATCH v3 5/5] tools/latency: Use pkg-config in lib_setup of Makefile.config Date: Fri, 12 Jul 2024 21:40:50 +0200 Message-ID: <20240712194511.3973899-6-amadio@gentoo.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240712194511.3973899-1-amadio@gentoo.org> References: <20240712194511.3973899-1-amadio@gentoo.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This allows to build against libtraceevent and libtracefs installed in non-standard locations. Signed-off-by: Guilherme Amadio Acked-by: Steven Rostedt (Google) Tested-by: Leo Yan Tested-by: Thorsten Leemhuis --- tools/tracing/latency/Makefile.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/tracing/latency/Makefile.config b/tools/tracing/latency/= Makefile.config index b25e531a1f95..0fe6b50f029b 100644 --- a/tools/tracing/latency/Makefile.config +++ b/tools/tracing/latency/Makefile.config @@ -3,8 +3,9 @@ STOP_ERROR :=3D =20 define lib_setup - $(eval EXTLIBS +=3D -l$(1)) $(eval LIB_INCLUDES +=3D $(shell sh -c "$(PKG_CONFIG) --cflags lib$(1)")) + $(eval LDFLAGS +=3D $(shell sh -c "$(PKG_CONFIG) --libs-only-L lib$(1)")) + $(eval EXTLIBS +=3D $(shell sh -c "$(PKG_CONFIG) --libs-only-l lib$(1)")) endef =20 $(call feature_check,libtraceevent) --=20 2.45.2