diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 1153c43428f3b51d43aba2e8df21950d9029ab04..f5727b586c8ee65970048840426b42ee0eb6b392 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -434,7 +434,7 @@ config UPROBE_EVENT config BPF_EVENTS depends on BPF_SYSCALL - depends on KPROBE_EVENT || UPROBE_EVENT + depends on (KPROBE_EVENT || UPROBE_EVENT) && PERF_EVENTS bool default y help