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