From ea1130449b9624164013cb24a700e6f7c44c6acb Mon Sep 17 00:00:00 2001 From: tyrone-wu Date: Tue, 3 Sep 2024 23:42:28 +0000 Subject: [PATCH] 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`. --- xtask/src/codegen/aya.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/xtask/src/codegen/aya.rs b/xtask/src/codegen/aya.rs index b1d3f18b..24b73087 100644 --- a/xtask/src/codegen/aya.rs +++ b/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",