Fix userspace calling in hello_fields

This commit is contained in:
Pragyansh Chaturvedi
2025-10-20 15:02:31 +05:30
parent dd9411b7b9
commit 54c97e648b

View File

@ -15,9 +15,10 @@ def LICENSE() -> str:
return "GPL"
# compile
# Compile and load
b = BPF()
b.load_and_attach()
b.load()
b.attach_all()
# header
print(f"{'TIME(s)':<18} {'COMM':<16} {'PID':<6} {'MESSAGE'}")