mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
big overhaul of debug info and params passed to maps
This commit is contained in:
@ -7,7 +7,7 @@ from ctypes import c_void_p, c_int64, c_int32, c_uint64
|
||||
@bpf
|
||||
@map
|
||||
def events() -> PerfEventArray:
|
||||
return PerfEventArray(key_type=c_uint64, value_type=c_uint64)
|
||||
return PerfEventArray(key_size=c_int32, value_size=c_int32)
|
||||
|
||||
@bpf
|
||||
@section("tracepoint/syscalls/sys_enter_clone")
|
||||
|
||||
Reference in New Issue
Block a user