From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 10 Jun 2024 21:43:33 +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 1sGkvV-003rPu-1Y for lore@lore.pengutronix.de; Mon, 10 Jun 2024 21:43:33 +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 1sGkvV-00080c-5a; Mon, 10 Jun 2024 21:43:33 +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 1sGktg-0006Tg-VT; Mon, 10 Jun 2024 21:41:40 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGktg-001NRL-Hs; Mon, 10 Jun 2024 21:41:40 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sGktg-008vHh-1b; Mon, 10 Jun 2024 21:41:40 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 10 Jun 2024 21:41:40 +0200 Message-Id: <20240610194140.2126817-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240531195144.1849501-1-l.stach@pengutronix.de> References: <20240531195144.1849501-1-l.stach@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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 Cc: Lucas Stach 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 Thanks, applied as 3e2a9c3cc85b4f59119ad112275968c39ca25ce2. Michael [sent from post-receive hook] On Mon, 10 Jun 2024 21:41:40 +0200, Lucas Stach wrote: > 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 > Message-Id: <20240531195144.1849501-1-l.stach@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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 24aa221e1bd0..1af680d6cf80 100644 > --- a/rules/kernel.make > +++ b/rules/kernel.make > @@ -215,7 +215,6 @@ KERNEL_TOOL_PERF_OPTS := \ > NO_SLANG= \ > NO_GTK2=1 \ > NO_DEMANGLE= \ > - NO_JEVENTS=1 \ > NO_LIBELF= \ > NO_LIBUNWIND=1 \ > NO_BACKTRACE= \