1 #include "vmlinux.h" 2 3 #include <bpf/bpf_helpers.h> 4 #include <bpf/bpf_core_read.h> 5 6 struct { 7 __uint(type, BPF_MAP_TYPE_HASH); 8 __uint(key_size, sizeof(u32)); 9 __uint(value_size, sizeof(u32)); 10 __uint(max_entries, 1); 11 __uint(pinning, LIBBPF_PIN_BY_NAME); 12 } auto_pin_map SEC(".maps"); 13 14 u64 resizable_data[1] SEC(".data.resizable_data"); 15 16 char _license[] SEC("license") = "GPL"; 17