codegen: add `bpf_perf_event_type` enum bindings

Adds the `bpf_perf_event_type` enum to FFI bindings, which is being used
in the `perf_event.type` field in `bpf_link_info`.
pull/1018/head
tyrone-wu 2 weeks ago
parent 15eb935bce
commit ea1130449b
No known key found for this signature in database
GPG Key ID: 978B1A1B79210AD6

@ -80,6 +80,7 @@ fn codegen_bindings(opts: &SysrootOptions, libbpf_dir: &Path) -> Result<(), anyh
"bpf_cpumap_val",
"bpf_devmap_val",
"bpf_stats_type",
"bpf_perf_event_type",
// BTF
"btf_header",
"btf_ext_info",

Loading…
Cancel
Save