cleanup and rename

This commit is contained in:
2025-09-30 21:05:07 +05:30
parent 18811933bf
commit 0d0a318e46
22 changed files with 18 additions and 113 deletions

View File

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