Skip to content

Commit 3273620

Browse files
committed
Fix userspace calling in sync_timing
1 parent 610cbe8 commit 3273620

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

BCC-Examples/sync_timing.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ def LICENSE() -> str:
3333
return "GPL"
3434

3535

36-
# compile
36+
# Compile and load
3737
b = BPF()
38-
b.load_and_attach()
38+
b.load()
39+
b.attach_all()
3940

4041
print("Tracing for quick sync's... Ctrl-C to end")
4142

0 commit comments

Comments
 (0)