Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Mon, 5 Oct 2020 15:45:28 -0700 you wrote: > bpf_program__set_attach_target(prog, fd, ...) will always fail when > fd = 0 (attach to a kernel symbol) because obj->btf_vmlinux is NULL > and there is no way to set it (at the moment btf_vmlinux is meant > to be temporary storage for use in bpf_object__load_xattr()). > > Fix this by using libbpf_find_vmlinux_btf_id(). > > [...] Here is the summary with links: - [v3] bpf, libbpf: use valid btf in bpf_program__set_attach_target https://git.kernel.org/bpf/bpf-next/c/8cee9107e72c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html