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

* Re: [ptxdist] [APPLIED] kernel/perf: enable jevents
  2024-05-31 19:51 [ptxdist] [PATCH] kernel/perf: enable jevents Lucas Stach
@ 2024-06-10 19:41 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2024-06-10 19:41 UTC (permalink / raw)
  To: ptxdist; +Cc: Lucas Stach

Thanks, applied as 3e2a9c3cc85b4f59119ad112275968c39ca25ce2.

Michael

[sent from post-receive hook]

On Mon, 10 Jun 2024 21:41:40 +0200, Lucas Stach <l.stach@pengutronix.de> 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 <l.stach@pengutronix.de>
> Message-Id: <20240531195144.1849501-1-l.stach@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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= \



^ 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