mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
12 lines
218 B
C
12 lines
218 B
C
#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";
|