codegen: generate additional userspace constants

reviewable/pr1166/r2
Tamir Duberstein 2 months ago
parent b70434b09e
commit 6a6e963ad0
No known key found for this signature in database

@ -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