mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
Fix userspace calling in hello_world
This commit is contained in:
@ -15,7 +15,9 @@ def LICENSE() -> str:
|
|||||||
return "GPL"
|
return "GPL"
|
||||||
|
|
||||||
|
|
||||||
|
# Compile and load
|
||||||
b = BPF()
|
b = BPF()
|
||||||
b.load_and_attach()
|
b.load()
|
||||||
|
b.attach_all()
|
||||||
|
|
||||||
trace_pipe()
|
trace_pipe()
|
||||||
|
|||||||
Reference in New Issue
Block a user