diff --git a/BCC-Examples/sync_count.py b/BCC-Examples/sync_count.py index 51790b9..4eead08 100644 --- a/BCC-Examples/sync_count.py +++ b/BCC-Examples/sync_count.py @@ -37,9 +37,10 @@ def LICENSE() -> str: return "GPL" -# compile +# Compile and load b = BPF() -b.load_and_attach() +b.load() +b.attach_all() print("Tracing for quick sync's... Ctrl-C to end")