aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/percpu_alloc_array.c
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2023-08-27 15:28:05 +0000
committerAlexei Starovoitov <[email protected]>2023-09-08 15:42:18 +0000
commit968c76cb3dc6cc86e8099ecaa5c30dc0d4738a30 (patch)
tree15d0960e5425e884797a87360788fee40ec5dd5a /tools/testing/selftests/bpf/progs/percpu_alloc_array.c
parentlibbpf: Add __percpu_kptr macro definition (diff)
downloadkernel-968c76cb3dc6cc86e8099ecaa5c30dc0d4738a30.tar.gz
kernel-968c76cb3dc6cc86e8099ecaa5c30dc0d4738a30.zip
selftests/bpf: Add bpf_percpu_obj_{new,drop}() macro in bpf_experimental.h
The new macro bpf_percpu_obj_{new/drop}() is very similar to bpf_obj_{new,drop}() as they both take a type as the argument. Signed-off-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/percpu_alloc_array.c')
0 files changed, 0 insertions, 0 deletions