codegen: generate additional userspace constants

reviewable/pr1167/r1
Tamir Duberstein 3 weeks ago
parent ee7861a6ed
commit 2319770f5b

@ -61,6 +61,7 @@ fn codegen_bindings(opts: &SysrootOptions, libbpf_dir: &Path) -> Result<(), anyh
"bpf_link_info",
"bpf_link_type",
"bpf_btf_info",
"bpf_func_id",
"bpf_func_info",
"bpf_line_info",
"bpf_lpm_trie_key",
@ -114,13 +115,19 @@ fn codegen_bindings(opts: &SysrootOptions, libbpf_dir: &Path) -> Result<(), anyh
"BPF_STX",
"BPF_LD",
"BPF_K",
"BPF_X",
"BPF_DW",
"BPF_W",
"BPF_H",
"BPF_B",
"BPF_IMM",
"BPF_MEM",
"BPF_SUB",
"BPF_MOV",
"BPF_F_.*",
"BPF_JMP",
"BPF_CALL",
"BPF_EXIT",
"SO_ATTACH_BPF",
"SO_DETACH_BPF",
// BTF

Loading…
Cancel
Save