diff options
author | Kui-Feng Lee <thinker.li@gmail.com> | 2024-01-20 01:50:05 +0300 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-01-24 04:12:52 +0300 |
commit | 0253e0590e2dc46996534371d56b5297099aed4e (patch) | |
tree | 85add1361db079527e9798ff1f78d180e9f08180 /kernel/bpf/arraymap.c | |
parent | 7c81c2490c73e614c6d48e4f339f4f224140b565 (diff) | |
download | linux-0253e0590e2dc46996534371d56b5297099aed4e.tar.xz |
selftests/bpf: test case for register_bpf_struct_ops().
Create a new struct_ops type called bpf_testmod_ops within the bpf_testmod
module. When a struct_ops object is registered, the bpf_testmod module will
invoke test_2 from the module.
Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com>
Link: https://lore.kernel.org/r/20240119225005.668602-15-thinker.li@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions