add assignments table and offset handler

This commit is contained in:
2025-10-15 17:49:20 +05:30
parent 69b73003ca
commit a4cfc2b7aa
5 changed files with 62 additions and 13 deletions

View File

@ -1,8 +1,9 @@
from pythonbpf import bpf, map, section, bpfglobal, compile_to_ir
from pythonbpf.maps import HashMap
from pythonbpf.helper import XDP_PASS
from vmlinux import TASK_COMM_LEN # noqa: F401
from vmlinux import struct_trace_event_raw_sys_enter # noqa: F401
# from vmlinux import struct_request
from vmlinux import struct_trace_event_raw_sys_enter
from vmlinux import struct_xdp_md
# from vmlinux import struct_trace_event_raw_sys_enter # noqa: F401
# from vmlinux import struct_ring_buffer_per_cpu # noqa: F401