diff --git a/BCC-Examples/hello_world.py b/BCC-Examples/hello_world.py index 4b5647b..520f84c 100644 --- a/BCC-Examples/hello_world.py +++ b/BCC-Examples/hello_world.py @@ -15,7 +15,9 @@ def LICENSE() -> str: return "GPL" +# Compile and load b = BPF() -b.load_and_attach() +b.load() +b.attach_all() trace_pipe()