Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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