xtask/codegen: opt-in 'bpf_task_fd_type'

This enables code generation for `bpf_task_fd_type`, and it also
sorts nearby entries to ease future changes.
pull/492/head
Luca BRUNO 2 years ago
parent 1899d5f4fd
commit 0bc88b01ac
No known key found for this signature in database
GPG Key ID: A9834A2252078E4E

@ -58,20 +58,21 @@ fn codegen_bindings(opts: &Options) -> Result<(), anyhow::Error> {
let types = [
// BPF
"BPF_TYPES",
"bpf_cmd",
"bpf_insn",
"bpf_attr",
"bpf_map_type",
"bpf_prog_type",
"bpf_attach_type",
"bpf_prog_info",
"bpf_map_info",
"bpf_link_info",
"bpf_link_type",
"bpf_attr",
"bpf_btf_info",
"bpf_cmd",
"bpf_func_info",
"bpf_insn",
"bpf_line_info",
"bpf_link_info",
"bpf_link_type",
"bpf_lpm_trie_key",
"bpf_map_info",
"bpf_map_type",
"bpf_prog_info",
"bpf_prog_type",
"bpf_task_fd_type",
// BTF
"btf_header",
"btf_ext_info",

Loading…
Cancel
Save