Merge branch 'modernize-resolve_btfids-selftest'

Ihor Solodrai says:

====================
Modernize resolve_btfids selftest

This series updates resolve_btfids selftests to use latest selftest
helpers API and add kfunc set testing.

This series was split from a bigger series [1].  It's general selftest
improvements that don't have to be entangled with resolve_btfids
development, and makes the main series a bit smaller.

[1] https://lore.kernel.org/bpf/20260601221805.821394-1-ihor.solodrai@linux.dev/
---

v1->v2:
  * add another kfunc set in reverse order and check_kfunc_set()
    helper to ensure proper testing of BTF ID sort (Eduard, patch #4)
  * nit: restore a dropped break (Eduard, patch #2)
v1: https://lore.kernel.org/bpf/20260617210619.1562858-1-ihor.solodrai@linux.dev/

v0->v1:
  * various nits from Jiri, Andrii and Emil
  * in patch #3 (that adds gcc pragma) definitions are moved such that
    .local BTF_ID_* containers are grouped together and we have a
    single pragma scope
====================

Link: https://patch.msgid.link/20260624005546.1818483-1-ihor.solodrai@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
Alexei Starovoitov 2026-06-25 18:21:32 -07:00
commit 53435562a7
3 changed files with 195 additions and 52 deletions