1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
include!("bindings.rs");
macro_rules! header {
($file:literal) => {
($file, include_str!(concat!("../libbpf/src/", $file)))
};
}
#[cfg(not(feature = "novendor"))]
pub const API_HEADERS: [(&'static str, &'static str); 10] = [
header!("bpf.h"),
header!("libbpf.h"),
header!("btf.h"),
header!("bpf_helpers.h"),
header!("bpf_helper_defs.h"),
header!("bpf_tracing.h"),
header!("bpf_endian.h"),
header!("bpf_core_read.h"),
header!("libbpf_common.h"),
header!("usdt.bpf.h"),
];