From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 31 May 2024 21:51:52 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sD8I4-000QFP-0v for lore@lore.pengutronix.de; Fri, 31 May 2024 21:51:52 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sD8I3-0005Pt-K1; Fri, 31 May 2024 21:51:51 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sD8Hx-0005Pl-3b for ptxdist@pengutronix.de; Fri, 31 May 2024 21:51:45 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1sD8Hw-003liy-Nd for ptxdist@pengutronix.de; Fri, 31 May 2024 21:51:44 +0200 From: Lucas Stach To: ptxdist@pengutronix.de Date: Fri, 31 May 2024 21:51:44 +0200 Message-Id: <20240531195144.1849501-1-l.stach@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] kernel/perf: enable jevents X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false perf jevents are metrics that build on top of the raw perf events and can provide much more insight at a glance than the raw numbers. Enable them by default as the only dependency is host-python to generate the C files to build into the perf target tool from the json description. Signed-off-by: Lucas Stach --- rules/kernel.in | 13 +++++++------ rules/kernel.make | 1 - 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/rules/kernel.in b/rules/kernel.in index 862d52598556..46c2267b6df3 100644 --- a/rules/kernel.in +++ b/rules/kernel.in @@ -2,12 +2,13 @@ menuconfig KERNEL bool "kernel tools " - select LIBELF if KERNEL_TOOL_PERF - select LIBELF_LIBDW if KERNEL_TOOL_PERF - select SLANG if KERNEL_TOOL_PERF - select BINUTILS if KERNEL_TOOL_PERF - select LIBTRACEEVENT if KERNEL_TOOL_PERF - select LIBUNWIND if KERNEL_TOOL_PERF + select LIBELF if KERNEL_TOOL_PERF + select LIBELF_LIBDW if KERNEL_TOOL_PERF + select SLANG if KERNEL_TOOL_PERF + select BINUTILS if KERNEL_TOOL_PERF + select LIBTRACEEVENT if KERNEL_TOOL_PERF + select LIBUNWIND if KERNEL_TOOL_PERF + select HOST_SYSTEM_PYTHON3 if KERNEL_TOOL_PERF if KERNEL diff --git a/rules/kernel.make b/rules/kernel.make index 0fe4f1e1b12a..9a61d4402ee0 100644 --- a/rules/kernel.make +++ b/rules/kernel.make @@ -214,7 +214,6 @@ KERNEL_TOOL_PERF_OPTS := \ NO_SLANG= \ NO_GTK2=1 \ NO_DEMANGLE= \ - NO_JEVENTS=1 \ NO_LIBELF= \ NO_LIBUNWIND=1 \ NO_BACKTRACE= \ -- 2.39.2