libbpf / bpftool

Automated upstream mirror for bpftool stand-alone build.
Other
366 stars 68 forks source link

Check that the list of supported programs, map types, attach types, ... are up-to-date #136

Open qmonnet opened 5 months ago

qmonnet commented 5 months ago

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.

qmonnet commented 5 months ago

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.