Re: [PATCH bpf-next v2 5/6] selftests/bpf: Verify decl tags emission in resolve_btfids test

Eduard Zingerman <[email protected]>
Newsgroups org.kernel.vger.bpf
Message-ID <[email protected]>
On Wed, 2026-08-05 at 16:06 -0700, Ihor Solodrai wrote:
> Extend test_resolve_btfids() to assert that resolve_btfids emits a
> BTF_KIND_DECL_TAG named "bpf_kfunc" for every kfunc, and
> "bpf_fastcall" for kfuncs marked KF_FASTCALL.
> 
> Add a btf_has_decl_tag() helper that scans the output BTF for a decl
> tag matching name and target.
> 
> Signed-off-by: Ihor Solodrai <[email protected]>
> ---

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

...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.