bpf: add a testsuite for eBPF maps
. check error conditions and sanity of hash and array map APIs . check large maps (that kernel gracefully switches to vmalloc from kmalloc) . check multi-process parallel access and stress test Signed-off-by: NAlexei Starovoitov <ast@plumgrid.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
samples/bpf/test_maps.c
0 → 100644
想要评论请 注册 或 登录