Skip to content

Commit 2daedc5

Browse files
committed
Fix debug info generation of PerfEventArray maps
1 parent 0ca8350 commit 2daedc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonbpf/maps/maps_pass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def process_perf_event_map(map_name, rval, module, structs_sym_tab):
135135
logger.info(f"Map parameters: {map_params}")
136136
map_global = create_bpf_map(module, map_name, map_params)
137137
# Generate debug info for BTF
138-
create_map_debug_info(module, map_global.sym, map_name, map_params)
138+
create_map_debug_info(module, map_global.sym, map_name, map_params, structs_sym_tab)
139139
return map_global
140140

141141

0 commit comments

Comments
 (0)