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 <u.kleine-koe...@pengutronix.de>
---
 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


Reply via email to