Browse Source

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 7 months ago
parent
commit
ea1130449b
1 changed files with 1 additions and 0 deletions
  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",