From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 14 May 2024 18:45:43 +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 1s6vHb-00EVZT-2X for lore@lore.pengutronix.de; Tue, 14 May 2024 18:45:43 +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 1s6vHb-0000hh-1a; Tue, 14 May 2024 18:45:43 +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 1s6vHH-0000Qp-Gq; Tue, 14 May 2024 18:45:23 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.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 1s6vHH-001O6K-45; Tue, 14 May 2024 18:45:23 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1s6vHH-004ioa-0A; Tue, 14 May 2024 18:45:23 +0200 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: ptxdist@pengutronix.de Date: Tue, 14 May 2024 18:45:16 +0200 Message-ID: <20240514164513.2430066-6-u.kleine-koenig@pengutronix.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240514164513.2430066-4-u.kleine-koenig@pengutronix.de> References: <20240514164513.2430066-4-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1035; i=u.kleine-koenig@pengutronix.de; h=from:subject; bh=1f1PVxnQXBJD6NKUCpA8CF+eemTXg5BOF99unhwaJ+U=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBmQ5Ubff5DKJ+cN9xXMCsG5ezdcw0rzpDurreDn RCD1MXVRbSJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZkOVGwAKCRCPgPtYfRL+ TpweB/9MTPBkSMMHYlJMl9AmbswlXobrFEFzc0CT3cJUcCb5ywn9ixAQfAreP2FRVj8319YJNr7 emXUYC5ofzyTsqlVDmCIq9Cs+ymW83pbXC4V+blO/2KpgmbRWgRspuns+6VvNl8Uwsw0E/4G5eJ 5vN/Q9E4oWU1cXrhn4zcwaVODPmKai9Ra08pcu9F4or0LcWeWizC31ECvM+s0H0FyFdN69Y16FM z2CZa2capT3bjC9SOpLRa5Kv7h9Rk40ZgQZojOUkq4WNp/KW6FguX93NgI3zk4coOWtdQzujWeA MTlITdPrbrmdOJCOjkLE/PX82agPih3p7HlkstioBUR5oxTF X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH v2 2/2] kernel/perf: Make use of libtraceevent 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: Michael Tretter 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 This makes it possible to use with tracepoints and enable the subcommands kmem, kwork, lock, sched and timechart. Signed-off-by: Uwe Kleine-König --- rules/kernel.in | 1 + rules/kernel.make | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/kernel.in b/rules/kernel.in index 817481577..862d52598 100644 --- a/rules/kernel.in +++ b/rules/kernel.in @@ -6,6 +6,7 @@ menuconfig KERNEL 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 if KERNEL diff --git a/rules/kernel.make b/rules/kernel.make index d82aa27fb..0fe4f1e1b 100644 --- a/rules/kernel.make +++ b/rules/kernel.make @@ -223,7 +223,6 @@ KERNEL_TOOL_PERF_OPTS := \ NO_LIBBIONIC=1 \ NO_LIBCRYPTO=1 \ NO_LIBDW_DWARF_UNWIND= \ - NO_LIBTRACEEVENT=1 \ NO_PERF_READ_VDSO32=1 \ NO_PERF_READ_VDSOX32=1 \ NO_ZLIB= \ -- 2.39.2