From a3bf13ded1d29c64441d9d49a114e6714c4fc951 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Tue, 21 Mar 2023 16:14:39 +0800 Subject: [PATCH] kernel: enable KERNEL_BPF_EVENTS by default Signed-off-by: Tianling Shen --- config/Config-kernel.in | 1 + 1 file changed, 1 insertion(+) diff --git a/config/Config-kernel.in b/config/Config-kernel.in index b669883a8a..3822eb4f04 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -453,6 +453,7 @@ config KERNEL_KPROBE_EVENTS config KERNEL_BPF_EVENTS bool "Compile the kernel with BPF event support" select KERNEL_KPROBES + default y if KERNEL_DEBUG_INFO_BTF help Allows to attach BPF programs to kprobe, uprobe and tracepoint events. This is required to use BPF maps of type BPF_MAP_TYPE_PERF_EVENT_ARRAY