mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
11 lines
199 B
C
11 lines
199 B
C
#include <linux/bpf.h>
|
|
#include <bpf/bpf_helpers.h>
|
|
|
|
SEC("kprobe/sys_clone")
|
|
int hello(struct pt_regs *ctx) {
|
|
bpf_printk("Hello, World!");
|
|
return 0;
|
|
}
|
|
|
|
char LICENSE[] SEC("license") = "GPL";
|