Explorar o código

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`.
tyrone-wu hai 7 meses
pai
achega
ea1130449b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      xtask/src/codegen/aya.rs

+ 1 - 0
xtask/src/codegen/aya.rs

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