sandbox/ebpf/hello2.c

6 lines
84 B
C
Raw Permalink Normal View History

2019-09-17 20:53:44 +00:00
int kprobe__sys_read(void *ctx)
{
bpf_trace_printk("Hello, world\n");
return 0;
}