merged.

I'm ok with this being enabled by the features that need it, but am still
heistant to enable it by default on the kernel types themselves.

Cheers,

Bruce


In message: [linux-yocto][master yocto-5.4][PATCH] bpf: Add CONFIG_IKHEADERS
on 27/04/2020 [email protected] wrote:

> 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 (#8630): 
https://lists.yoctoproject.org/g/linux-yocto/message/8630
Mute This Topic: https://lists.yoctoproject.org/mt/73304858/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/624485779/xyzzy  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to