Re: [PATCH bpf-next v1 2/8] resolve_btfids: Index BTF ID symbols by address

Eduard Zingerman <[email protected]> Tue, 28 Jul 2026 17:21:41 -0700
Newsgroups org.kernel.vger.linux-input,org.kernel.vger.bpf
Message-ID <[email protected]>
On Wed, 2026-07-22 at 16:35 -0700, Ihor Solodrai wrote:
> Keep an address-sorted index of parsed .BTF_ids symbols so that the
> original BTF_ID symbol name can be recovered from an entry address.
> 
> Use the index in find_kfunc_flags() to scan BTF_SET8_KFUNCS entries
> directly and match each entry back to the requested kfunc.
> 
> Signed-off-by: Ihor Solodrai <[email protected]>
> Reviewed-by: Emil Tsalapatis <[email protected]>
> ---

Reviewed-by: Eduard Zingerman <[email protected]>

...