diff options
author | Simon Sundberg <[email protected]> | 2024-10-10 15:27:09 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-10-10 10:44:03 -0700 |
commit | f91b256644ea6f7628580029c5a223573f55d98c (patch) | |
tree | d4b574daade59bf0cb9fdbd5f76fbb680c34abf6 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 4192bb294f80928bc2257c7a2ff6c86a27de6807 (diff) |
selftests/bpf: Add test for kfunc module order
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]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions