Re: [PATCH bpf-next] libbpf: bpf__find_by_name[_kind] should use btf__get_nr_types()

From: patchwork-bot+netdevbpf
Date: Tue Nov 17 2020 - 00:00:27 EST


Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

On Sun, 15 Nov 2020 10:46:35 +0000 you wrote:
> When operating on split BTF, btf__find_by_name[_kind] will not
> iterate over all types since they use btf->nr_types to show
> the number of types to iterate over. For split BTF this is
> the number of types _on top of base BTF_, so it will
> underestimate the number of types to iterate over, especially
> for vmlinux + module BTF, where the latter is much smaller.
>
> [...]

Here is the summary with links:
- [bpf-next] libbpf: bpf__find_by_name[_kind] should use btf__get_nr_types()
https://git.kernel.org/bpf/bpf-next/c/de91e631bdc7

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html