Skip to content

Commit 1881193

Browse files
cleanup stray files and add return paths
1 parent b88888f commit 1881193

2 files changed

Lines changed: 2 additions & 54 deletions

File tree

pythonbpf/bpf_helper_handler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ def bpf_printk_emitter(call, map_ptr, module, builder, func, local_sym_tab=None,
219219

220220
builder.call(fn_ptr, [fmt_ptr, ir.Constant(
221221
ir.IntType(32), len(fmt_str))], tail=True)
222+
return None
222223

223224

224225
def bpf_map_update_elem_emitter(call, map_ptr, module, builder, func, local_sym_tab=None, struct_sym_tab=None, local_var_metadata=None):
@@ -496,3 +497,4 @@ def handle_helper_call(call, module, builder, func, local_sym_tab=None, map_sym_
496497
else:
497498
raise NotImplementedError(
498499
"Attribute not supported for map method calls.")
500+
return None

pythonbpf/trace.py

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)