Commit 8fd6424
libbpf-cargo: escape map names
commit 51ffd0f added support for custom sections.
this broke skeleton generation when bpf_printk() was used
along with BPF_NO_GLOBAL_DATA, as e.g. the map '.rodata.str1.1'
contains invalid chars. add simple escaping to the map name as
well (similar to the one used for the section name)
Signed-off-by: Eliad Peller <[email protected]>1 parent 51ffd0f commit 8fd6424
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
| 369 | + | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| |||
0 commit comments