Add trace_pipe utility

This commit is contained in:
Pragyansh Chaturvedi
2025-10-14 03:51:43 +05:30
parent 18d62d605a
commit edc33733d9
4 changed files with 36 additions and 2 deletions

View File

@ -1,4 +1,4 @@
from pythonbpf import bpf, section, bpfglobal, compile
from pythonbpf import bpf, section, bpfglobal, BPF, trace_pipe
from ctypes import c_void_p, c_int64
@ -15,4 +15,8 @@ def LICENSE() -> str:
return "GPL"
compile()
# compile()
b = BPF()
b.load_and_attach()
trace_pipe()