Commit f91b2566 authored by Simon Sundberg's avatar Simon Sundberg Committed by Alexei Starovoitov
Browse files

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: default avatarSimon Sundberg <simon.sundberg@kau.se>
Acked-by: default avatarKumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: default avatarToke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/r/20241010-fix-kfunc-btf-caching-for-modules-v2-3-745af6c1af98@redhat.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 4192bb29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment