Fix the BPF load error unrecognized bpf_ld_imm64 insn in tcptop on 4.19 by converting .rodata config variables to a map. (global data is not supported in 4.19)
tcptop can use CO-RE including on 4.19 when a detached vmlinux BTF file is provided.
It can be generated from a DWARF vmlinux using pahole:
Fix the BPF load error
unrecognized bpf_ld_imm64 insn
intcptop
on 4.19 by converting.rodata
config variables to a map. (global data is not supported in 4.19)tcptop
can use CO-RE including on 4.19 when a detachedvmlinux
BTF file is provided. It can be generated from a DWARFvmlinux
usingpahole
:PS: GitHub CI fails on a few test cases (flaky) so I added a minor commits to make CI less flaky.