selftests/bpf: add test case for bpf_map_lookup_percpu_elem
authorFeng Zhou <zhoufeng.zf@bytedance.com>
Wed, 11 May 2022 09:38:54 +0000 (17:38 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 12 May 2022 01:16:55 +0000 (18:16 -0700)
commited7c13776e20c74486b0939a3c1de984c5efb6aa
tree838c1e08c3b57feea8ff26e4c648e36bce8d9cc2
parent07343110b293456d30393e89b86c4dee1ac051c8
selftests/bpf: add test case for bpf_map_lookup_percpu_elem

test_progs:
Tests new ebpf helpers bpf_map_lookup_percpu_elem.

Signed-off-by: Feng Zhou <zhoufeng.zf@bytedance.com>
Link: https://lore.kernel.org/r/20220511093854.411-3-zhoufeng.zf@bytedance.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/map_lookup_percpu_elem.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_map_lookup_percpu_elem.c [new file with mode: 0644]