From: patchwork-bot+bpf@kernel.org
To: Luigi Rizzo <lrizzo@google.com>
Cc: bpf@vger.kernel.org, echaudro@redhat.com, daniel@iogearbox.net,
rizzo.unipi@gmail.com, andriin@fb.com, ppenkov@google.com,
tommaso.burlon@gmail.com
Subject: Re: [PATCH v3] bpf, libbpf: use valid btf in bpf_program__set_attach_target
Date: Tue, 06 Oct 2020 18:50:04 +0000 [thread overview]
Message-ID: <160201020458.15578.2112471126147703627.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20201005224528.389097-1-lrizzo@google.com>
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
prev parent reply other threads:[~2020-10-06 18:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-05 22:45 [PATCH v3] bpf, libbpf: use valid btf in bpf_program__set_attach_target Luigi Rizzo
2020-10-06 8:01 ` Petar Penkov
2020-10-06 18:50 ` patchwork-bot+bpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=160201020458.15578.2112471126147703627.git-patchwork-notify@kernel.org \
--to=patchwork-bot+bpf@kernel.org \
--cc=andriin@fb.com \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=echaudro@redhat.com \
--cc=lrizzo@google.com \
--cc=ppenkov@google.com \
--cc=rizzo.unipi@gmail.com \
--cc=tommaso.burlon@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox