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_PERCPU_ARRAY); 8 __uint(key_size, sizeof(u32)); 9 __uint(value_size, sizeof(u32)); 10 __uint(max_entries, 1); 11 } percpu_map SEC(".maps"); 12 13 char _license[] SEC("license") = "GPL"; 14