Back to home page

OSCL-LXR

 
 

    


0001 #include "vmlinux.h"
0002 #include <bpf/bpf_helpers.h>
0003 #include <bpf/bpf_core_read.h>
0004 
0005 const char LICENSE[] SEC("license") = "GPL";
0006 
0007 __attribute__((unused)) __noinline int unused1(int x)
0008 {
0009     return x + 1;
0010 }
0011 
0012 static __attribute__((unused)) __noinline int unused2(int x)
0013 {
0014     return x + 2;
0015 }
0016 
0017 SEC("raw_tp/sys_enter")
0018 int main_prog(void *ctx)
0019 {
0020     return 0;
0021 }