From ff472ca8ab048e915f906aa27f20227b9002dd05 Mon Sep 17 00:00:00 2001 From: Huang-Huang Bao Date: Sun, 12 Jan 2025 14:39:58 +0800 Subject: [PATCH] doc: add a note regarding CONFIG_BPF_EVENTS in openwrt guide --- docs/guide/openwrt.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/guide/openwrt.md b/docs/guide/openwrt.md index c09e9bc..27531a5 100644 --- a/docs/guide/openwrt.md +++ b/docs/guide/openwrt.md @@ -35,6 +35,9 @@ Additional kernel configs required, you might need to add these to kernel config CONFIG_BPF_SYSCALL=y CONFIG_BPF_JIT=y CONFIG_NET_ACT_BPF=y + +# needed if using bpf_log_level >= 1 +CONFIG_BPF_EVENTS=y ``` See https://github.com/iovisor/bcc/blob/master/docs/kernel_config.md for explanation on these BPF options.