#include "vmlinux.h" | |
#include <bpf/bpf_helpers.h> | |
#include <bpf/bpf_core_read.h> | |
struct { | |
__uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); | |
__uint(key_size, sizeof(u32)); | |
__uint(value_size, sizeof(u32)); | |
__uint(max_entries, 1); | |
} percpu_map SEC(".maps"); | |
char _license[] SEC("license") = "GPL"; |