sandbox/ebpf/hello2.c

6 lines
84 B
C

int kprobe__sys_read(void *ctx)
{
bpf_trace_printk("Hello, world\n");
return 0;
}