aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/bpf_test_modorder_x
AgeCommit message (Collapse)AuthorFilesLines
2024-10-10selftests/bpf: Add test for kfunc module orderSimon Sundberg2-0/+58
Add a test case for kfuncs from multiple external modules, checking that the correct kfuncs are called regardless of which order they're called in. Specifically, check that calling the kfuncs in an order different from the one the modules' BTF are loaded in works. Signed-off-by: Simon Sundberg <[email protected]> Acked-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Toke Høiland-Jørgensen <[email protected]> Link: https://lore.kernel.org/r/20241010-fix-kfunc-btf-caching-for-modules-v2-3-745af6c1af98@redhat.com Signed-off-by: Alexei Starovoitov <[email protected]>