From 32736204479c2b8486c44883f6e2a3b1e2d6749e Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Mon, 20 Oct 2025 15:08:27 +0530 Subject: [PATCH] Fix userspace calling in sync_timing --- BCC-Examples/sync_timing.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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")