diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-04-17 17:21:47 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-04-18 12:45:11 -0700 |
commit | c5e64741670883a5b35d42f3125d611f5a4aa14f (patch) | |
tree | a5bc0279a6bb10b8594dc89c6f4435460b303325 /lib/locking-selftest-rlock-hardirq.h | |
parent | 30bbfe3236b01b81ed5f4a91cd9d87a236b182e3 (diff) |
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 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions