mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
correct mistake in null pointer. Also identify error in pointer to char debug info generation
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
from pythonbpf import bpf, section, bpfglobal, compile_to_ir, compile
|
||||
from vmlinux import TASK_COMM_LEN # noqa: F401
|
||||
from vmlinux import struct_trace_event_raw_sys_enter # noqa: F401
|
||||
# from vmlinux import struct_xdp_md
|
||||
# from vmlinux import struct_request
|
||||
from vmlinux import struct_blk_integrity_iter
|
||||
from ctypes import c_int64
|
||||
|
||||
|
||||
@ -24,4 +27,3 @@ def LICENSE() -> str:
|
||||
|
||||
|
||||
compile_to_ir("simple_struct_test.py", "simple_struct_test.ll")
|
||||
compile()
|
||||
|
||||
Reference in New Issue
Block a user