fix errors. Does not support union name resolution yet.

This commit is contained in:
2025-10-16 18:21:14 +05:30
parent 5413cc793b
commit 041e538b53
2 changed files with 22 additions and 17 deletions

View File

@ -2,12 +2,13 @@ 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_posix_cputimers # noqa: F401
# from vmlinux import struct_qspinlock_0_1
# from vmlinux import struct_trace_event_raw_sys_enter # noqa: F401
# from vmlinux import struct_posix_cputimers # noqa: F401
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
# from vmlinux import struct_ring_buffer_per_cpu # noqa: F401
from vmlinux import struct_request
from ctypes import c_int64
# Instructions to how to run this program