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
|
@bpf
|
||||||
@section("kprobe/do_unlinkat")
|
@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!")
|
print("Hello, World!")
|
||||||
return c_int64(0)
|
return c_int64(0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user