We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3273620 commit 1740959Copy full SHA for 1740959
1 file changed
BCC-Examples/sys_sync.py
@@ -15,6 +15,9 @@ def LICENSE() -> str:
15
return "GPL"
16
17
18
-BPF().load_and_attach()
+# Compile and load
19
+b = BPF()
20
+b.load()
21
+b.attach_all()
22
print("Tracing sys_sync()... Ctrl-C to end.")
23
trace_pipe()
0 commit comments