Skip to content

Commit 71d005b

Browse files
complete vmlinux struct name generation in IR.
* Breaks when it finds unions. * Still does not support function pointers.
1 parent 5d9a29e commit 71d005b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/failing_tests/xdp_pass.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
from pythonbpf.helper import XDP_PASS
44
from vmlinux import TASK_COMM_LEN # noqa: F401
55

6-
# from vmlinux import struct_qspinlock_0_1 # noqa: F401
6+
from vmlinux import struct_qspinlock # noqa: F401
7+
78
# from vmlinux import struct_trace_event_raw_sys_enter # noqa: F401
89
# from vmlinux import struct_posix_cputimers # noqa: F401
910
from vmlinux import struct_xdp_md
1011

1112
# from vmlinux import struct_trace_event_raw_sys_enter # noqa: F401
1213
# from vmlinux import struct_ring_buffer_per_cpu # noqa: F401
13-
from vmlinux import struct_request # noqa: F401
14+
# from vmlinux import struct_request # noqa: F401
1415
from ctypes import c_int64
1516

1617
# Instructions to how to run this program

0 commit comments

Comments
 (0)