diff --git a/examples/execve.py b/examples/execve.py deleted file mode 100644 index 6f5f3d6..0000000 --- a/examples/execve.py +++ /dev/null @@ -1,15 +0,0 @@ -from pythonbpf.decorators import section -from ctypes import c_void_p, c_int32 - -#This is a test function -def test_function(): - print("test_function called") - -@section("tracepoint/syscalls/sys_enter_execve") -def trace_execve(ctx: c_void_p) -> c_int32: - print("execve called") - print("execve2 called") - test_function() - return c_int32(0) - -LICENSE = "GPL"