diff --git a/BCC-Examples/sync_timing.py b/BCC-Examples/sync_timing.py index 448caba..aba494d 100644 --- a/BCC-Examples/sync_timing.py +++ b/BCC-Examples/sync_timing.py @@ -33,9 +33,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")