mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] kernel/perf: enable jevents
@ 2024-05-31 19:51 Lucas Stach
  2024-06-10 19:41 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2024-05-31 19:51 UTC (permalink / raw)
  To: ptxdist

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 <l.stach@pengutronix.de>
---
 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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-10 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-31 19:51 [ptxdist] [PATCH] kernel/perf: enable jevents Lucas Stach
2024-06-10 19:41 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox