Initialize PythonBPF project and toolchain

This commit is contained in:
2025-08-30 18:08:14 +05:30
commit d5557d3c01
10 changed files with 119 additions and 0 deletions

11
examples/example.bpf.c Normal file
View File

@ -0,0 +1,11 @@
#include <linux/bpf.h>
#include <bpf/bpf_helpers.h>
SEC("tracepoint/syscalls/sys_enter_execve")
int trace_execve(void *ctx)
{
bpf_printk("execve called\n");
return 0;
}
char LICENSE[] SEC("license") = "GPL";