From dd9411b7b9976a2050206bb75e9c2cba14c24371 Mon Sep 17 00:00:00 2001 From: Pragyansh Chaturvedi Date: Mon, 20 Oct 2025 14:59:13 +0530 Subject: [PATCH] Fix userspace calling in hello_world --- BCC-Examples/hello_world.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()