bpftool
bpftool copied to clipboard
Check that the list of supported programs, map types, attach types, ... are up-to-date
I'm pretty sure we're missing some type names, at least in the docs/usage strings/bash completion, related to the latest program, map, attach types merged into the kernel. We need to check and update the lists, respectively.
We also need more CI tests to keep track of what types bpftool is able to support, and to make sure we catch any regression.
Related: We should check that entries in bpf_attach_type_input_str() are all relevant - I'm not sure they are, given that the function is only used with bpftool cgroup attach|detach as far as I can remember. Should fentry etc. be moved somewhere else, or removed entirely? We need to double-check.