Pass structs_sym_tab to maps_proc

This commit is contained in:
Pragyansh Chaturvedi
2025-11-18 03:29:58 +05:30
parent e9bb90cb70
commit 39a0746db4
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ from pythonbpf.expr.vmlinux_registry import VmlinuxHandlerRegistry
logger: Logger = logging.getLogger(__name__)
def maps_proc(tree, module, chunks):
def maps_proc(tree, module, chunks, structs_sym_tab):
"""Process all functions decorated with @map to find BPF maps"""
map_sym_tab = {}
for func_node in chunks: