mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
Fix typos
This commit is contained in:
@ -71,7 +71,7 @@ def bpf_map_lookup_elem_emitter(
|
|||||||
)
|
)
|
||||||
map_void_ptr = builder.bitcast(map_ptr, ir.PointerType())
|
map_void_ptr = builder.bitcast(map_ptr, ir.PointerType())
|
||||||
|
|
||||||
# TODO: I have changed the return typr to i64*, as we are
|
# TODO: I have changed the return type to i64*, as we are
|
||||||
# allocating space for that type in allocate_mem. This is
|
# allocating space for that type in allocate_mem. This is
|
||||||
# temporary, and we will honour other widths later. But this
|
# temporary, and we will honour other widths later. But this
|
||||||
# allows us to have cool binary ops on the returned value.
|
# allows us to have cool binary ops on the returned value.
|
||||||
|
|||||||
@ -6,7 +6,7 @@ from pythonbpf.helper import ktime
|
|||||||
|
|
||||||
# NOTE: This is a comprehensive test combining struct, helper, and map features
|
# NOTE: This is a comprehensive test combining struct, helper, and map features
|
||||||
# Please note that at line 50, though we have used an absurd expression to test
|
# Please note that at line 50, though we have used an absurd expression to test
|
||||||
# the comiler, it is recommended to used named variables to reduce the amount of
|
# the compiler, it is recommended to use named variables to reduce the amount of
|
||||||
# scratch space that needs to be allocated.
|
# scratch space that needs to be allocated.
|
||||||
|
|
||||||
@bpf
|
@bpf
|
||||||
|
|||||||
Reference in New Issue
Block a user