aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorJoanne Koong <[email protected]>2021-10-29 22:49:09 +0000
committerAlexei Starovoitov <[email protected]>2021-11-01 21:16:03 +0000
commit7a67087250f0003acc1b9e20eda01635e1e51f9a (patch)
tree0aa974eb45a14bdf059b733702ac35caee42134d /scripts/gcc-plugins/sancov_plugin.c
parentbpf: Add alignment padding for "map_extra" + consolidate holes (diff)
downloadkernel-7a67087250f0003acc1b9e20eda01635e1e51f9a.tar.gz
kernel-7a67087250f0003acc1b9e20eda01635e1e51f9a.zip
selftests/bpf: Add bloom map success test for userspace calls
This patch has two changes: 1) Adds a new function "test_success_cases" to test successfully creating + adding + looking up a value in a bloom filter map from the userspace side. 2) Use bpf_create_map instead of bpf_create_map_xattr in the "test_fail_cases" and test_inner_map to make the code look cleaner. Signed-off-by: Joanne Koong <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions