libbpf: Add "iter.s" section for sleepable bpf iterator programs
authorKenny Yu <kennyyu@fb.com>
Mon, 24 Jan 2022 18:54:02 +0000 (10:54 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 25 Jan 2022 03:59:38 +0000 (19:59 -0800)
commita8b77f7463a500584a69fed60bb4da57ac435138
tree3972ae826dded22d2937f1ed5b223ec0c1c06732
parent376040e47334c6dc6a939a32197acceb00fe4acf
libbpf: Add "iter.s" section for sleepable bpf iterator programs

This adds a new bpf section "iter.s" to allow bpf iterator programs to
be sleepable.

Signed-off-by: Kenny Yu <kennyyu@fb.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20220124185403.468466-4-kennyyu@fb.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/libbpf.c