diff options
author | 2023-04-17 17:21:47 -0700 | |
---|---|---|
committer | 2023-04-18 12:45:11 -0700 | |
commit | c5e64741670883a5b35d42f3125d611f5a4aa14f (patch) | |
tree | a5bc0279a6bb10b8594dc89c6f4435460b303325 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
parent | selftests/bpf: add missing __weak kfunc log fixup test (diff) | |
download | wireguard-linux-c5e64741670883a5b35d42f3125d611f5a4aa14f.tar.xz wireguard-linux-c5e64741670883a5b35d42f3125d611f5a4aa14f.zip |
libbpf: move bpf_for(), bpf_for_each(), and bpf_repeat() into bpf_helpers.h
To make it easier for bleeding-edge BPF applications, such as sched_ext,
to utilize open-coded iterators, move bpf_for(), bpf_for_each(), and
bpf_repeat() macros from selftests/bpf-internal bpf_misc.h helper, to
libbpf-provided bpf_helpers.h header.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20230418002148.3255690-6-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions