1 #include "vmlinux.h" 2 #include <bpf/bpf_helpers.h> 3 #include <bpf/bpf_core_read.h> 4 5 const char LICENSE[] SEC("license") = "GPL"; 6 unused1(int x)7__attribute__((unused)) __noinline int unused1(int x) 8 { 9 return x + 1; 10 } 11 unused2(int x)12static __attribute__((unused)) __noinline int unused2(int x) 13 { 14 return x + 2; 15 } 16 17 SEC("raw_tp/sys_enter") main_prog(void * ctx)18int main_prog(void *ctx) 19 { 20 return 0; 21 } 22