mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
fix duplicate variable in example
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
This commit is contained in:
@ -10,7 +10,7 @@ def hello_world(ctx: c_void_p) -> c_int64:
|
||||
|
||||
@bpf
|
||||
@section("kprobe/do_unlinkat")
|
||||
def hello_world(ctx: c_void_p) -> c_int64:
|
||||
def hello_world2(ctx: c_void_p) -> c_int64:
|
||||
print("Hello, World!")
|
||||
return c_int64(0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user