From: He Zhe <[email protected]>

bcc and bpftrace may require kernel headers to be able to build tools.
Otherwise it would fail as

modprobe: module kheaders not found in modules.dep
Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m 
(module)

Signed-off-by: He Zhe <[email protected]>
---
 features/bpf/bpf.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/features/bpf/bpf.cfg b/features/bpf/bpf.cfg
index b90e87a..b6858ba 100644
--- a/features/bpf/bpf.cfg
+++ b/features/bpf/bpf.cfg
@@ -4,3 +4,4 @@ CONFIG_BPF_SYSCALL=y
 CONFIG_BPF_JIT=y
 CONFIG_BPF_EVENTS=y
 CONFIG_CGROUP_BPF=y
+CONFIG_IKHEADERS=m
-- 
2.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8625): 
https://lists.yoctoproject.org/g/linux-yocto/message/8625
Mute This Topic: https://lists.yoctoproject.org/mt/73304858/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to