-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbpf tcptop: Fix "unrecognized bpf_ld_imm64 insn" on 4.19
Fix the BPF load error `unrecognized bpf_ld_imm64 insn` on 4.19 by converting rodata config variables to a map. tcptop can use CO-RE including 4.19 when a detached vmlinux BTF file is provided, generated from a DWARF vmlinux using pahole: pahole -J;objcopy --only-section=.BTF vmlinux /boot/vmlinux-$(uname -r) Signed-off-by: Bernhard Kaindl <[email protected]>
- Loading branch information
1 parent
fef9003
commit 80a6345
Showing
3 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters