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.st...@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


Reply via email to