libbpf: split feature detectors definitions from cached results
authorAndrii Nakryiko <andrii@kernel.org>
Wed, 13 Dec 2023 19:08:34 +0000 (11:08 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 13 Dec 2023 23:47:04 +0000 (15:47 -0800)
commitc6c5be3eee975ae640966844db66d404c1de79b1
tree192b7deee31859e25e5c398eeba69b76fecde9ab
parentf5fdb51fb980077a4c6c78f3f775821f611fb38b
libbpf: split feature detectors definitions from cached results

Split a list of supported feature detectors with their corresponding
callbacks from actual cached supported/missing values. This will allow
to have more flexible per-token or per-object feature detectors in
subsequent refactorings.

Acked-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231213190842.3844987-3-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/libbpf.c