oracle / bpftune

bpftune uses BPF to auto-tune Linux systems
Other
685 stars 59 forks source link

error in ubuntu 22.04 #35

Closed cappelikan closed 1 year ago

cappelikan commented 1 year ago

$ sudo service bpftune start Warning: The unit file, source configuration file or drop-ins of bpftune.service changed on disk. Run 'systemctl daemon-reload' to reload units. $ systemctl daemon-reload $ sudo service bpftune start $ sudo bpftune -s bpftune: bpftune works in legacy mode bpftune: bpftune supports per-netns policy (via netns cookie) bpftune: could not load skeleton: No such process bpftune: error initializing '/usr/lib64/bpftune//tcp_cong_tuner.so: No such process bpftune: could not load skeleton: No such process bpftune: error initializing '/usr/lib64/bpftune//tcp_buffer_tuner.so: No such process bpftune: could not load skeleton: No such process bpftune: error initializing '/usr/lib64/bpftune//route_table_tuner.so: No such process bpftune: could not load skeleton: No such process bpftune: error initializing '/usr/lib64/bpftune//net_buffer_tuner.so: No such process bpftune: could not load skeleton: No such process bpftune: error initializing '/usr/lib64/bpftune//netns_tuner.so: No such process bpftune: could not load skeleton: No such process bpftune: error initializing '/usr/lib64/bpftune//neigh_table_tuner.so: No such process bpftune: could not load skeleton: No such process bpftune: error initializing '/usr/lib64/bpftune//sysctl_tuner.so: No such process bpftune: no ringbuf events to watch, exiting. bpftune: could not initialize tuners in '/usr/lib64/bpftune/'

alan-maguire commented 1 year ago

thanks for the report.can you try "bpftune -ds" (should provide more debug info)? can you also confirm you're using latest "main" branch (there were some bugs impacting behaviour on ubuntu that are hopefully fixed now)? can you also provide info on which kernel you're using (uname -r) - i've been testing on an ubuntu 22.04 image using a 5.15 kernel.

cappelikan commented 1 year ago

thanks for the report.can you try "bpftune -ds" (should provide more debug info)? can you also confirm you're using latest "main" branch (there were some bugs impacting behaviour on ubuntu that are hopefully fixed now)? can you also provide info on which kernel you're using (uname -r) - i've been testing on an ubuntu 22.04 image using a 5.15 kernel.

✘ cappelikan@cappelikan-775i945gz  ~  sudo bpftune -ds [sudo] password for cappelikan: bpftune: set caps (count 1) bpftune: set caps (count 2) bpftune: drop caps (count 1) bpftune: set caps (count 2) bpftune: libbpf: loading object 'probe_bpf' from buffer bpftune: libbpf: elf: section(3) fentry/setup_net, size 16, link 0, flags 6, type=1 bpftune: libbpf: sec 'fentry/setup_net': found program 'entrysetup_net' at insn offset 0 (0 bytes), code size 2 insns (16 bytes) bpftune: libbpf: elf: section(4) iter/tcp, size 128, link 0, flags 6, type=1 bpftune: libbpf: sec 'iter/tcp': found program 'probe_cong_iter' at insn offset 0 (0 bytes), code size 16 insns (128 bytes) bpftune: libbpf: elf: section(5) tp_btf/neigh_create, size 16, link 0, flags 6, type=1 bpftune: libbpf: sec 'tp_btf/neigh_create': found program 'bpftune_neigh_create' at insn offset 0 (0 bytes), code size 2 insns (16 bytes) bpftune: libbpf: elf: section(6) cgroup/sysctl, size 16, link 0, flags 6, type=1 bpftune: libbpf: sec 'cgroup/sysctl': found program 'sysctl_write' at insn offset 0 (0 bytes), code size 2 insns (16 bytes) bpftune: libbpf: elf: section(7) license, size 7, link 0, flags 3, type=1 bpftune: libbpf: license of probe_bpf is GPL v2 bpftune: libbpf: elf: section(8) .bss, size 25, link 0, flags 3, type=8 bpftune: libbpf: elf: section(9) .maps, size 112, link 0, flags 3, type=1 bpftune: libbpf: elf: section(20) .BTF, size 2227, link 0, flags 0, type=1 bpftune: libbpf: elf: section(22) .BTF.ext, size 340, link 0, flags 0, type=1 bpftune: libbpf: elf: section(30) .symtab, size 720, link 1, flags 0, type=2 bpftune: libbpf: looking for externs among 30 symbols... bpftune: libbpf: collected 0 externs total bpftune: libbpf: map 'ring_buffer_map': at sec_idx 9, offset 0. bpftune: libbpf: map 'ring_buffer_map': found type = 27. bpftune: libbpf: map 'ring_buffer_map': found max_entries = 131072. bpftune: libbpf: map 'netns_map': at sec_idx 9, offset 16. bpftune: libbpf: map 'netns_map': found type = 1. bpftune: libbpf: map 'netns_map': found key [12], sz = 8. bpftune: libbpf: map 'netns_map': found value [12], sz = 8. bpftune: libbpf: map 'netns_map': found max_entries = 65536. bpftune: libbpf: map 'last_event_map': at sec_idx 9, offset 48. bpftune: libbpf: map 'last_event_map': found type = 1. bpftune: libbpf: map 'last_event_map': found key [12], sz = 8. bpftune: libbpf: map 'last_event_map': found value [12], sz = 8. bpftune: libbpf: map 'last_event_map': found max_entries = 65536. bpftune: libbpf: map 'probe_hash_map': at sec_idx 9, offset 80. bpftune: libbpf: map 'probe_hash_map': found type = 1. bpftune: libbpf: map 'probe_hash_map': found key [12], sz = 8. bpftune: libbpf: map 'probe_hash_map': found value [12], sz = 8. bpftune: libbpf: map 'probe_hash_map': found max_entries = 65536. bpftune: libbpf: map 'probe_bp.bss' (global data): at sec_idx 8, offset 0, flags 400. bpftune: libbpf: map 4 is "probe_bp.bss" bpftune: libbpf: Unsupported BTF_KIND:19 bpftune: libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': -22 bpftune: libbpf: failed to find valid kernel BTF bpftune: libbpf: Error loading vmlinux BTF: -3 bpftune: libbpf: failed to load object 'probe_bpf' bpftune: libbpf: failed to load BPF skeleton 'probe_bpf': -3 bpftune: full bpftune support not available: Unknown error -3 bpftune: libbpf: loading object 'probe_bpf_legacy' from buffer bpftune: libbpf: elf: section(3) kprobe/setup_net, size 16, link 0, flags 6, type=1 bpftune: libbpf: sec 'kprobe/setup_net': found program 'entrysetup_net' at insn offset 0 (0 bytes), code size 2 insns (16 bytes) bpftune: libbpf: elf: section(4) raw_tracepoint/neigh_create, size 16, link 0, flags 6, type=1 bpftune: libbpf: sec 'raw_tracepoint/neigh_create': found program 'bpftune_neigh_create' at insn offset 0 (0 bytes), code size 2 insns (16 bytes) bpftune: libbpf: elf: section(5) cgroup/sysctl, size 16, link 0, flags 6, type=1 bpftune: libbpf: sec 'cgroup/sysctl': found program 'sysctl_write' at insn offset 0 (0 bytes), code size 2 insns (16 bytes) bpftune: libbpf: elf: section(6) license, size 7, link 0, flags 3, type=1 bpftune: libbpf: license of probe_bpf_legacy is GPL v2 bpftune: libbpf: elf: section(7) .bss, size 25, link 0, flags 3, type=8 bpftune: libbpf: elf: section(8) .maps, size 112, link 0, flags 3, type=1 bpftune: libbpf: elf: section(18) .BTF, size 2063, link 0, flags 0, type=1 bpftune: libbpf: elf: section(20) .BTF.ext, size 160, link 0, flags 0, type=1 bpftune: libbpf: elf: section(28) .symtab, size 624, link 1, flags 0, type=2 bpftune: libbpf: looking for externs among 26 symbols... bpftune: libbpf: collected 0 externs total bpftune: libbpf: map 'ring_buffer_map': at sec_idx 8, offset 0. bpftune: libbpf: map 'ring_buffer_map': found type = 27. bpftune: libbpf: map 'ring_buffer_map': found max_entries = 131072. bpftune: libbpf: map 'netns_map': at sec_idx 8, offset 16. bpftune: libbpf: map 'netns_map': found type = 1. bpftune: libbpf: map 'netns_map': found key [12], sz = 8. bpftune: libbpf: map 'netns_map': found value [12], sz = 8. bpftune: libbpf: map 'netns_map': found max_entries = 65536. bpftune: libbpf: map 'last_event_map': at sec_idx 8, offset 48. bpftune: libbpf: map 'last_event_map': found type = 1. bpftune: libbpf: map 'last_event_map': found key [12], sz = 8. bpftune: libbpf: map 'last_event_map': found value [12], sz = 8. bpftune: libbpf: map 'last_event_map': found max_entries = 65536. bpftune: libbpf: map 'probe_hash_map': at sec_idx 8, offset 80. bpftune: libbpf: map 'probe_hash_map': found type = 1. bpftune: libbpf: map 'probe_hash_map': found key [12], sz = 8. bpftune: libbpf: map 'probe_hash_map': found value [12], sz = 8. bpftune: libbpf: map 'probe_hash_map': found max_entries = 65536. bpftune: libbpf: map 'probe_bp.bss' (global data): at sec_idx 7, offset 0, flags 400. bpftune: libbpf: map 4 is "probe_bp.bss" bpftune: libbpf: map 'ring_buffer_map': created successfully, fd=5 bpftune: libbpf: map 'netns_map': created successfully, fd=6 bpftune: libbpf: map 'last_event_map': created successfully, fd=7 bpftune: libbpf: map 'probe_hash_map': created successfully, fd=8 bpftune: libbpf: map 'probe_bp.bss': created successfully, fd=9 bpftune: drop caps (count 1) bpftune: bpftune works in legacy mode bpftune: bpftune supports per-netns policy (via netns cookie) bpftune: drop caps (count 0) bpftune: searching /usr/lib64/bpftune/ for plugins... bpftune: found lib /usr/lib64/bpftune//tcp_cong_tuner.so, init bpftune: set caps (count 1) bpftune: drop caps (count 0) bpftune: calling init for '/usr/lib64/bpftune//tcp_cong_tuner.so bpftune: set caps (count 1) bpftune: could not init module '/lib/modules/6.4.3-060403-generic/kernel/net/ipv4/tcp_bbr.ko' bpftune: drop caps (count 0) bpftune: set caps (count 1) bpftune: libbpf: loading object 'tcp_cong_tuner_bpf_legacy' from buffer bpftune: libbpf: elf: section(3) sockops, size 1816, link 0, flags 6, type=1 bpftune: libbpf: sec 'sockops': found program 'cong_tuner_sockops' at insn offset 0 (0 bytes), code size 227 insns (1816 bytes) bpftune: libbpf: elf: section(4) .relsockops, size 112, link 29, flags 40, type=9 bpftune: libbpf: elf: section(5) license, size 7, link 0, flags 3, type=1 bpftune: libbpf: license of tcp_cong_tuner_bpf_legacy is GPL v2 bpftune: libbpf: elf: section(6) .rodata, size 35, link 0, flags 2, type=1 bpftune: libbpf: elf: section(7) .bss, size 25, link 0, flags 3, type=8 bpftune: libbpf: elf: section(8) .maps, size 112, link 0, flags 3, type=1 bpftune: libbpf: elf: section(19) .BTF, size 5166, link 0, flags 0, type=1 bpftune: libbpf: elf: section(21) .BTF.ext, size 2108, link 0, flags 0, type=1 bpftune: libbpf: elf: section(29) .symtab, size 888, link 1, flags 0, type=2 bpftune: libbpf: looking for externs among 37 symbols... bpftune: libbpf: collected 0 externs total bpftune: libbpf: map 'ring_buffer_map': at sec_idx 8, offset 0. bpftune: libbpf: map 'ring_buffer_map': found type = 27. bpftune: libbpf: map 'ring_buffer_map': found max_entries = 131072. bpftune: libbpf: map 'netns_map': at sec_idx 8, offset 16. bpftune: libbpf: map 'netns_map': found type = 1. bpftune: libbpf: map 'netns_map': found key [12], sz = 8. bpftune: libbpf: map 'netns_map': found value [12], sz = 8. bpftune: libbpf: map 'netns_map': found max_entries = 65536. bpftune: libbpf: map 'last_event_map': at sec_idx 8, offset 48. bpftune: libbpf: map 'last_event_map': found type = 1. bpftune: libbpf: map 'last_event_map': found key [12], sz = 8. bpftune: libbpf: map 'last_event_map': found value [12], sz = 8. bpftune: libbpf: map 'last_event_map': found max_entries = 65536. bpftune: libbpf: map 'remote_host_map': at sec_idx 8, offset 80. bpftune: libbpf: map 'remote_host_map': found type = 1. bpftune: libbpf: map 'remote_host_map': found key [23], sz = 16. bpftune: libbpf: map 'remote_host_map': found value [37], sz = 40. bpftune: libbpf: map 'remote_host_map': found max_entries = 1024. bpftune: libbpf: map 'tcp_cong.rodata' (global data): at sec_idx 6, offset 0, flags 480. bpftune: libbpf: map 4 is "tcp_cong.rodata" bpftune: libbpf: map 'tcp_cong.bss' (global data): at sec_idx 7, offset 0, flags 400. bpftune: libbpf: map 5 is "tcp_cong.bss" bpftune: libbpf: sec '.relsockops': collecting relocation for section(3) 'sockops' bpftune: libbpf: sec '.relsockops': relo #0: insn #65 against 'remote_host_map' bpftune: libbpf: prog 'cong_tuner_sockops': found map 3 (remote_host_map, sec 8, off 80) for insn #65 bpftune: libbpf: sec '.relsockops': relo #1: insn #79 against 'remote_host_map' bpftune: libbpf: prog 'cong_tuner_sockops': found map 3 (remote_host_map, sec 8, off 80) for insn #79 bpftune: libbpf: sec '.relsockops': relo #2: insn #84 against 'remote_host_map' bpftune: libbpf: prog 'cong_tuner_sockops': found map 3 (remote_host_map, sec 8, off 80) for insn #84 bpftune: libbpf: sec '.relsockops': relo #3: insn #201 against 'debug' bpftune: libbpf: prog 'cong_tuner_sockops': found data map 5 (tcp_cong.bss, sec 7, off 0) for insn 201 bpftune: libbpf: sec '.relsockops': relo #4: insn #205 against '.rodata' bpftune: libbpf: prog 'cong_tuner_sockops': found data map 4 (tcp_cong.rodata, sec 6, off 0) for insn 205 bpftune: libbpf: sec '.relsockops': relo #5: insn #213 against 'tuner_id' bpftune: libbpf: prog 'cong_tuner_sockops': found data map 5 (tcp_cong.bss, sec 7, off 0) for insn 213 bpftune: libbpf: sec '.relsockops': relo #6: insn #221 against 'ring_buffer_map' bpftune: libbpf: prog 'cong_tuner_sockops': found map 0 (ring_buffer_map, sec 8, off 0) for insn #221 bpftune: drop caps (count 0) bpftune: set caps (count 1) bpftune: libbpf: Unsupported BTF_KIND:19 bpftune: libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': -22 bpftune: libbpf: failed to find valid kernel BTF bpftune: libbpf: Error loading vmlinux BTF: -3 bpftune: libbpf: failed to load object 'tcp_cong_tuner_bpf_legacy' bpftune: libbpf: failed to load BPF skeleton 'tcp_cong_tuner_bpf_legacy': -3 bpftune: could not load skeleton: No such process bpftune: drop caps (count 0) bpftune: error initializing '/usr/lib64/bpftune//tcp_cong_tuner.so: No such process bpftune: found lib /usr/lib64/bpftune//tcp_buffer_tuner.so, init bpftune: set caps (count 1) bpftune: drop caps (count 0) bpftune: calling init for '/usr/lib64/bpftune//tcp_buffer_tuner.so bpftune: set caps (count 1) bpftune: libbpf: loading object 'tcp_buffer_tuner_bpf_legacy' from buffer bpftune: libbpf: elf: section(3) kprobe/tcp_enter_memory_pressure, size 3768, link 0, flags 6, type=1 bpftune: libbpf: sec 'kprobe/tcp_enter_memory_pressure': found program 'entrytcp_enter_memory_pressure' at insn offset 0 (0 bytes), code size 471 insns (3768 bytes) bpftune: libbpf: elf: section(4) .relkprobe/tcp_enter_memory_pressure, size 544, link 39, flags 40, type=9 bpftune: libbpf: elf: section(5) kprobe/tcp_leave_memory_pressure, size 48, link 0, flags 6, type=1 bpftune: libbpf: sec 'kprobe/tcp_leave_memory_pressure': found program 'entrytcp_leave_memory_pressure' at insn offset 0 (0 bytes), code size 6 insns (48 bytes) bpftune: libbpf: elf: section(6) .relkprobe/tcp_leave_memory_pressure, size 16, link 39, flags 40, type=9 bpftune: libbpf: elf: section(7) kprobe/tcp_sndbuf_expand, size 6232, link 0, flags 6, type=1 bpftune: libbpf: sec 'kprobe/tcp_sndbuf_expand': found program 'entrytcp_sndbuf_expand' at insn offset 0 (0 bytes), code size 779 insns (6232 bytes) bpftune: libbpf: elf: section(8) .relkprobe/tcp_sndbuf_expand, size 832, link 39, flags 40, type=9 bpftune: libbpf: elf: section(9) kprobe/tcp_rcv_space_adjust, size 6288, link 0, flags 6, type=1 bpftune: libbpf: sec 'kprobe/tcp_rcv_space_adjust': found program 'entrytcp_rcv_space_adjust' at insn offset 0 (0 bytes), code size 786 insns (6288 bytes) bpftune: libbpf: elf: section(10) .relkprobe/tcp_rcv_space_adjust, size 848, link 39, flags 40, type=9 bpftune: libbpf: elf: section(11) kprobe/tcp_init_sock, size 3864, link 0, flags 6, type=1 bpftune: libbpf: sec 'kprobe/tcp_init_sock': found program 'entrytcp_init_sock' at insn offset 0 (0 bytes), code size 483 insns (3864 bytes) bpftune: libbpf: elf: section(12) .relkprobe/tcp_init_sock, size 576, link 39, flags 40, type=9 bpftune: libbpf: elf: section(13) kprobe/tcp_release_cb, size 72, link 0, flags 6, type=1 bpftune: libbpf: sec 'kprobe/tcp_release_cb': found program 'entrytcp_release_cb' at insn offset 0 (0 bytes), code size 9 insns (72 bytes) bpftune: libbpf: elf: section(14) .relkprobe/tcp_release_cb, size 16, link 39, flags 40, type=9 bpftune: libbpf: elf: section(15) license, size 7, link 0, flags 3, type=1 bpftune: libbpf: license of tcp_buffer_tuner_bpf_legacy is GPL v2 bpftune: libbpf: elf: section(16) .bss, size 80, link 0, flags 3, type=8 bpftune: libbpf: elf: section(17) .maps, size 112, link 0, flags 3, type=1 bpftune: libbpf: elf: section(18) .rodata, size 82, link 0, flags 2, type=1 bpftune: libbpf: elf: section(29) .BTF, size 69841, link 0, flags 0, type=1 bpftune: libbpf: elf: section(31) .BTF.ext, size 14780, link 0, flags 0, type=1 bpftune: libbpf: elf: section(39) .symtab, size 4416, link 1, flags 0, type=2 bpftune: libbpf: looking for externs among 184 symbols... bpftune: libbpf: collected 1 externs total bpftune: libbpf: extern (ksym) #0: symbol 164, name init_net bpftune: libbpf: map 'ring_buffer_map': at sec_idx 17, offset 0. bpftune: libbpf: map 'ring_buffer_map': found type = 27. bpftune: libbpf: map 'ring_buffer_map': found max_entries = 131072. bpftune: libbpf: map 'netns_map': at sec_idx 17, offset 16. bpftune: libbpf: map 'netns_map': found type = 1. bpftune: libbpf: map 'netns_map': found key [12], sz = 8. bpftune: libbpf: map 'netns_map': found value [12], sz = 8. bpftune: libbpf: map 'netns_map': found max_entries = 65536. bpftune: libbpf: map 'last_event_map': at sec_idx 17, offset 48. bpftune: libbpf: map 'last_event_map': found type = 1. bpftune: libbpf: map 'last_event_map': found key [12], sz = 8. bpftune: libbpf: map 'last_event_map': found value [12], sz = 8. bpftune: libbpf: map 'last_event_map': found max_entries = 65536. bpftune: libbpf: map 'corr_map': at sec_idx 17, offset 80. bpftune: libbpf: map 'corr_map': found type = 1. bpftune: libbpf: map 'corr_map': found key [21], sz = 16. bpftune: libbpf: map 'corr_map': found value [24], sz = 48. bpftune: libbpf: map 'corr_map': found max_entries = 1024. bpftune: libbpf: map 'tcp_buff.bss' (global data): at sec_idx 16, offset 0, flags 400. bpftune: libbpf: map 4 is "tcp_buff.bss" bpftune: libbpf: map 'tcp_buff.rodata' (global data): at sec_idx 18, offset 0, flags 480. bpftune: libbpf: map 5 is "tcp_buff.rodata" bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': collecting relocation for section(3) 'kprobe/tcp_enter_memory_pressure' bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #0: insn #91 against 'sk_mem_quantum_shift' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 91 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #1: insn #96 against 'kernel_page_shift' bpftune: libbpf: prog 'entry__tcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 96 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #2: insn #134 against 'bpftune_learning_rate' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 134 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #3: insn #153 against 'near_memory_pressure' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 153 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #4: insn #157 against 'near_memory_exhaustion' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 157 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #5: insn #162 against 'nr_free_buffer_pages' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 162 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #6: insn #192 against 'init_net' bpftune: libbpf: prog 'entry__tcp_enter_memory_pressure': found extern #0 'init_net' (sym 164) for insn #192 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #7: insn #195 against 'bpftune_init_net' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 195 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #8: insn #210 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 210 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #9: insn #222 against 'last_event_map' bpftune: libbpf: prog 'entry__tcp_enter_memory_pressure': found map 2 (last_event_map, sec 17, off 48) for insn #222 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #10: insn #240 against 'nr_free_buffer_pages' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 240 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #11: insn #279 against 'init_net' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found extern #0 'init_net' (sym 164) for insn #279 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #12: insn #282 against 'bpftune_init_net' bpftune: libbpf: prog 'entry__tcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 282 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #13: insn #291 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found map 2 (last_event_map, sec 17, off 48) for insn #291 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #14: insn #311 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 311 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #15: insn #317 against 'ring_buffer_map' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found map 0 (ring_buffer_map, sec 17, off 0) for insn #317 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #16: insn #322 against 'debug' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 322 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #17: insn #327 against '.rodata' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 327 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #18: insn #338 against '.rodata' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 338 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #19: insn #342 against 'debug' bpftune: libbpf: prog 'entry__tcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 342 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #20: insn #346 against '.rodata' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 346 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #21: insn #364 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 364 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #22: insn #376 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found map 2 (last_event_map, sec 17, off 48) for insn #376 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #23: insn #387 against 'near_memory_pressure' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 387 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #24: insn #391 against 'near_memory_exhaustion' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 391 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #25: insn #398 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found map 2 (last_event_map, sec 17, off 48) for insn #398 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #26: insn #424 against 'tuner_id' bpftune: libbpf: prog 'entry__tcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 424 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #27: insn #430 against 'ring_buffer_map' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found map 0 (ring_buffer_map, sec 17, off 0) for insn #430 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #28: insn #435 against 'debug' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 435 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #29: insn #440 against '.rodata' bpftune: libbpf: prog 'entry__tcp_enter_memory_pressure': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 440 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #30: insn #451 against '.rodata' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 451 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #31: insn #455 against 'debug' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 455 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #32: insn #459 against '.rodata' bpftune: libbpf: prog 'entry__tcp_enter_memory_pressure': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 459 bpftune: libbpf: sec '.relkprobe/tcp_enter_memory_pressure': relo #33: insn #466 against 'near_memory_pressure' bpftune: libbpf: prog 'entrytcp_enter_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 466 bpftune: libbpf: sec '.relkprobe/tcp_leave_memory_pressure': collecting relocation for section(5) 'kprobe/tcp_leave_memory_pressure' bpftune: libbpf: sec '.relkprobe/tcp_leave_memory_pressure': relo #0: insn #0 against 'under_memory_pressure' bpftune: libbpf: prog 'entrytcp_leave_memory_pressure': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 0 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': collecting relocation for section(7) 'kprobe/tcp_sndbuf_expand' bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #0: insn #101 against 'sk_mem_quantum_shift' bpftune: libbpf: prog 'entry__tcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 101 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #1: insn #106 against 'kernel_page_shift' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 106 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #2: insn #140 against 'bpftune_learning_rate' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 140 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #3: insn #175 against 'bpftune_learning_rate' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 175 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #4: insn #193 against 'init_net' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found extern #0 'init_net' (sym 164) for insn #193 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #5: insn #196 against 'bpftune_init_net' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 196 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #6: insn #211 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 211 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #7: insn #220 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found map 2 (last_event_map, sec 17, off 48) for insn #220 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #8: insn #235 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found map 2 (last_event_map, sec 17, off 48) for insn #235 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #9: insn #262 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 262 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #10: insn #271 against 'ring_buffer_map' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found map 0 (ring_buffer_map, sec 17, off 0) for insn #271 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #11: insn #276 against 'debug' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 276 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #12: insn #280 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 280 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #13: insn #283 against '.rodata' bpftune: libbpf: prog 'entry__tcp_sndbuf_expand': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 283 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #14: insn #291 against '.rodata' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 291 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #15: insn #298 against 'debug' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 298 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #16: insn #302 against '.rodata' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 302 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #17: insn #324 against 'corr_map' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found map 3 (corr_map, sec 17, off 80) for insn #324 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #18: insn #338 against 'corr_map' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found map 3 (corr_map, sec 17, off 80) for insn #338 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #19: insn #343 against 'corr_map' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found map 3 (corr_map, sec 17, off 80) for insn #343 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #20: insn #403 against 'bpftune_learning_rate' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 403 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #21: insn #427 against 'near_memory_pressure' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 427 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #22: insn #431 against 'near_memory_exhaustion' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 431 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #23: insn #436 against 'nr_free_buffer_pages' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 436 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #24: insn #467 against 'init_net' bpftune: libbpf: prog 'entry__tcp_sndbuf_expand': found extern #0 'init_net' (sym 164) for insn #467 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #25: insn #470 against 'bpftune_init_net' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 470 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #26: insn #517 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 517 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #27: insn #529 against 'last_event_map' bpftune: libbpf: prog 'entry__tcp_sndbuf_expand': found map 2 (last_event_map, sec 17, off 48) for insn #529 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #28: insn #548 against 'nr_free_buffer_pages' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 548 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #29: insn #586 against 'init_net' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found extern #0 'init_net' (sym 164) for insn #586 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #30: insn #589 against 'bpftune_init_net' bpftune: libbpf: prog 'entry__tcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 589 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #31: insn #598 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found map 2 (last_event_map, sec 17, off 48) for insn #598 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #32: insn #618 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 618 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #33: insn #624 against 'ring_buffer_map' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found map 0 (ring_buffer_map, sec 17, off 0) for insn #624 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #34: insn #629 against 'debug' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 629 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #35: insn #634 against '.rodata' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 634 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #36: insn #645 against '.rodata' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 645 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #37: insn #649 against 'debug' bpftune: libbpf: prog 'entry__tcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 649 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #38: insn #653 against '.rodata' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 653 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #39: insn #671 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 671 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #40: insn #683 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found map 2 (last_event_map, sec 17, off 48) for insn #683 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #41: insn #694 against 'near_memory_pressure' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 694 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #42: insn #698 against 'near_memory_exhaustion' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 698 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #43: insn #706 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found map 2 (last_event_map, sec 17, off 48) for insn #706 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #44: insn #732 against 'tuner_id' bpftune: libbpf: prog 'entry__tcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 732 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #45: insn #738 against 'ring_buffer_map' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found map 0 (ring_buffer_map, sec 17, off 0) for insn #738 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #46: insn #743 against 'debug' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 743 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #47: insn #748 against '.rodata' bpftune: libbpf: prog 'entry__tcp_sndbuf_expand': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 748 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #48: insn #759 against '.rodata' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 759 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #49: insn #763 against 'debug' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 763 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #50: insn #767 against '.rodata' bpftune: libbpf: prog 'entry__tcp_sndbuf_expand': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 767 bpftune: libbpf: sec '.relkprobe/tcp_sndbuf_expand': relo #51: insn #774 against 'near_memory_pressure' bpftune: libbpf: prog 'entrytcp_sndbuf_expand': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 774 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': collecting relocation for section(9) 'kprobe/tcp_rcv_space_adjust' bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #0: insn #43 against 'near_memory_exhaustion' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 43 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #1: insn #46 against 'near_memory_pressure' bpftune: libbpf: prog 'entry__tcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 46 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #2: insn #74 against 'bpftune_learning_rate' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 74 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #3: insn #147 against 'sk_mem_quantum_shift' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 147 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #4: insn #152 against 'kernel_page_shift' bpftune: libbpf: prog 'entry__tcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 152 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #5: insn #184 against 'bpftune_learning_rate' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 184 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #6: insn #201 against 'init_net' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found extern #0 'init_net' (sym 164) for insn #201 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #7: insn #204 against 'bpftune_init_net' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 204 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #8: insn #219 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 219 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #9: insn #231 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found map 2 (last_event_map, sec 17, off 48) for insn #231 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #10: insn #246 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found map 2 (last_event_map, sec 17, off 48) for insn #246 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #11: insn #275 against 'tuner_id' bpftune: libbpf: prog 'entry__tcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 275 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #12: insn #283 against 'ring_buffer_map' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found map 0 (ring_buffer_map, sec 17, off 0) for insn #283 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #13: insn #288 against 'debug' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 288 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #14: insn #293 against '.rodata' bpftune: libbpf: prog 'entry__tcp_rcv_space_adjust': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 293 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #15: insn #301 against '.rodata' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 301 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #16: insn #308 against 'debug' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 308 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #17: insn #312 against '.rodata' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 312 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #18: insn #334 against 'corr_map' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found map 3 (corr_map, sec 17, off 80) for insn #334 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #19: insn #349 against 'corr_map' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found map 3 (corr_map, sec 17, off 80) for insn #349 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #20: insn #354 against 'corr_map' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found map 3 (corr_map, sec 17, off 80) for insn #354 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #21: insn #415 against 'bpftune_learning_rate' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 415 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #22: insn #435 against 'near_memory_pressure' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 435 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #23: insn #439 against 'near_memory_exhaustion' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 439 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #24: insn #444 against 'nr_free_buffer_pages' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 444 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #25: insn #474 against 'init_net' bpftune: libbpf: prog 'entry__tcp_rcv_space_adjust': found extern #0 'init_net' (sym 164) for insn #474 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #26: insn #477 against 'bpftune_init_net' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 477 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #27: insn #524 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 524 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #28: insn #536 against 'last_event_map' bpftune: libbpf: prog 'entry__tcp_rcv_space_adjust': found map 2 (last_event_map, sec 17, off 48) for insn #536 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #29: insn #554 against 'nr_free_buffer_pages' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 554 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #30: insn #593 against 'init_net' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found extern #0 'init_net' (sym 164) for insn #593 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #31: insn #596 against 'bpftune_init_net' bpftune: libbpf: prog 'entry__tcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 596 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #32: insn #605 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found map 2 (last_event_map, sec 17, off 48) for insn #605 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #33: insn #625 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 625 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #34: insn #631 against 'ring_buffer_map' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found map 0 (ring_buffer_map, sec 17, off 0) for insn #631 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #35: insn #636 against 'debug' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 636 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #36: insn #641 against '.rodata' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 641 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #37: insn #652 against '.rodata' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 652 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #38: insn #656 against 'debug' bpftune: libbpf: prog 'entry__tcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 656 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #39: insn #660 against '.rodata' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 660 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #40: insn #678 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 678 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #41: insn #690 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found map 2 (last_event_map, sec 17, off 48) for insn #690 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #42: insn #701 against 'near_memory_pressure' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 701 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #43: insn #705 against 'near_memory_exhaustion' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 705 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #44: insn #713 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found map 2 (last_event_map, sec 17, off 48) for insn #713 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #45: insn #739 against 'tuner_id' bpftune: libbpf: prog 'entry__tcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 739 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #46: insn #745 against 'ring_buffer_map' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found map 0 (ring_buffer_map, sec 17, off 0) for insn #745 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #47: insn #750 against 'debug' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 750 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #48: insn #755 against '.rodata' bpftune: libbpf: prog 'entry__tcp_rcv_space_adjust': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 755 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #49: insn #766 against '.rodata' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 766 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #50: insn #770 against 'debug' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 770 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #51: insn #774 against '.rodata' bpftune: libbpf: prog 'entry__tcp_rcv_space_adjust': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 774 bpftune: libbpf: sec '.relkprobe/tcp_rcv_space_adjust': relo #52: insn #781 against 'near_memory_pressure' bpftune: libbpf: prog 'entrytcp_rcv_space_adjust': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 781 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': collecting relocation for section(11) 'kprobe/tcp_init_sock' bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #0: insn #34 against 'tcp_sock_count' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 34 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #1: insn #40 against 'tcp_max_sock_count' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 40 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #2: insn #103 against 'sk_mem_quantum_shift' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 103 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #3: insn #108 against 'kernel_page_shift' bpftune: libbpf: prog 'entry__tcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 108 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #4: insn #146 against 'bpftune_learning_rate' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 146 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #5: insn #165 against 'near_memory_pressure' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 165 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #6: insn #169 against 'near_memory_exhaustion' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 169 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #7: insn #174 against 'nr_free_buffer_pages' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 174 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #8: insn #204 against 'init_net' bpftune: libbpf: prog 'entry__tcp_init_sock': found extern #0 'init_net' (sym 164) for insn #204 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #9: insn #207 against 'bpftune_init_net' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 207 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #10: insn #222 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 222 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #11: insn #234 against 'last_event_map' bpftune: libbpf: prog 'entry__tcp_init_sock': found map 2 (last_event_map, sec 17, off 48) for insn #234 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #12: insn #252 against 'nr_free_buffer_pages' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 252 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #13: insn #291 against 'init_net' bpftune: libbpf: prog 'entrytcp_init_sock': found extern #0 'init_net' (sym 164) for insn #291 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #14: insn #294 against 'bpftune_init_net' bpftune: libbpf: prog 'entry__tcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 294 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #15: insn #303 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_init_sock': found map 2 (last_event_map, sec 17, off 48) for insn #303 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #16: insn #323 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 323 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #17: insn #329 against 'ring_buffer_map' bpftune: libbpf: prog 'entrytcp_init_sock': found map 0 (ring_buffer_map, sec 17, off 0) for insn #329 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #18: insn #334 against 'debug' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 334 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #19: insn #339 against '.rodata' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 339 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #20: insn #350 against '.rodata' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 350 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #21: insn #354 against 'debug' bpftune: libbpf: prog 'entry__tcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 354 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #22: insn #358 against '.rodata' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 358 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #23: insn #376 against 'tuner_id' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 376 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #24: insn #388 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_init_sock': found map 2 (last_event_map, sec 17, off 48) for insn #388 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #25: insn #399 against 'near_memory_pressure' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 399 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #26: insn #403 against 'near_memory_exhaustion' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 403 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #27: insn #410 against 'last_event_map' bpftune: libbpf: prog 'entrytcp_init_sock': found map 2 (last_event_map, sec 17, off 48) for insn #410 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #28: insn #436 against 'tuner_id' bpftune: libbpf: prog 'entry__tcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 436 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #29: insn #442 against 'ring_buffer_map' bpftune: libbpf: prog 'entrytcp_init_sock': found map 0 (ring_buffer_map, sec 17, off 0) for insn #442 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #30: insn #447 against 'debug' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 447 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #31: insn #452 against '.rodata' bpftune: libbpf: prog 'entry__tcp_init_sock': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 452 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #32: insn #463 against '.rodata' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 463 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #33: insn #467 against 'debug' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 467 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #34: insn #471 against '.rodata' bpftune: libbpf: prog 'entry__tcp_init_sock': found data map 5 (tcp_buff.rodata, sec 18, off 0) for insn 471 bpftune: libbpf: sec '.relkprobe/tcp_init_sock': relo #35: insn #478 against 'near_memory_pressure' bpftune: libbpf: prog 'entrytcp_init_sock': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 478 bpftune: libbpf: sec '.relkprobe/tcp_release_cb': collecting relocation for section(13) 'kprobe/tcp_release_cb' bpftune: libbpf: sec '.relkprobe/tcp_release_cb': relo #0: insn #0 against 'tcp_sock_count' bpftune: libbpf: prog 'entrytcp_release_cb': found data map 4 (tcp_buff.bss, sec 16, off 0) for insn 0 bpftune: drop caps (count 0) bpftune: set caps (count 1) bpftune: libbpf: Unsupported BTF_KIND:19 bpftune: libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': -22 bpftune: libbpf: failed to find valid kernel BTF bpftune: libbpf: Error loading vmlinux BTF: -3 bpftune: libbpf: failed to load object 'tcp_buffer_tuner_bpf_legacy' bpftune: libbpf: failed to load BPF skeleton 'tcp_buffer_tuner_bpf_legacy': -3 bpftune: could not load skeleton: No such process bpftune: drop caps (count 0) bpftune: error initializing '/usr/lib64/bpftune//tcp_buffer_tuner.so: No such process bpftune: found lib /usr/lib64/bpftune//route_table_tuner.so, init bpftune: set caps (count 1) bpftune: drop caps (count 0) bpftune: calling init for '/usr/lib64/bpftune//route_table_tuner.so bpftune: set caps (count 1) bpftune: libbpf: loading object 'route_table_tuner_bpf_legacy' from buffer bpftune: libbpf: elf: section(3) kprobe/fib6_run_gc, size 192, link 0, flags 6, type=1 bpftune: libbpf: sec 'kprobe/fib6_run_gc': found program 'bpftune_fib6_run_gc_entry' at insn offset 0 (0 bytes), code size 24 insns (192 bytes) bpftune: libbpf: elf: section(4) .relkprobe/fib6_run_gc, size 32, link 33, flags 40, type=9 bpftune: libbpf: elf: section(5) kretprobe/fib6_run_gc, size 1592, link 0, flags 6, type=1 bpftune: libbpf: sec 'kretprobe/fib6_run_gc': found program 'bpftune_fib6_run_gc' at insn offset 0 (0 bytes), code size 199 insns (1592 bytes) bpftune: libbpf: elf: section(6) .relkretprobe/fib6_run_gc, size 240, link 33, flags 40, type=9 bpftune: libbpf: elf: section(7) kprobe/fib6_age, size 104, link 0, flags 6, type=1 bpftune: libbpf: sec 'kprobe/fib6_age': found program 'entry__fib6_age' at insn offset 0 (0 bytes), code size 13 insns (104 bytes) bpftune: libbpf: elf: section(8) .relkprobe/fib6_age, size 16, link 33, flags 40, type=9 bpftune: libbpf: elf: section(9) license, size 7, link 0, flags 3, type=1 bpftune: libbpf: license of route_table_tuner_bpf_legacy is GPL v2 bpftune: libbpf: elf: section(10) .bss, size 25, link 0, flags 3, type=8 bpftune: libbpf: elf: section(11) .maps, size 112, link 0, flags 3, type=1 bpftune: libbpf: elf: section(12) .rodata, size 82, link 0, flags 2, type=1 bpftune: libbpf: elf: section(23) .BTF, size 45108, link 0, flags 0, type=1 bpftune: libbpf: elf: section(25) .BTF.ext, size 1332, link 0, flags 0, type=1 bpftune: libbpf: elf: section(33) .symtab, size 1032, link 1, flags 0, type=2 bpftune: libbpf: looking for externs among 43 symbols... bpftune: libbpf: collected 1 externs total bpftune: libbpf: extern (ksym) #0: symbol 33, name init_net bpftune: libbpf: map 'ring_buffer_map': at sec_idx 11, offset 0. bpftune: libbpf: map 'ring_buffer_map': found type = 27. bpftune: libbpf: map 'ring_buffer_map': found max_entries = 131072. bpftune: libbpf: map 'netns_map': at sec_idx 11, offset 16. bpftune: libbpf: map 'netns_map': found type = 1. bpftune: libbpf: map 'netns_map': found key [12], sz = 8. bpftune: libbpf: map 'netns_map': found value [12], sz = 8. bpftune: libbpf: map 'netns_map': found max_entries = 65536. bpftune: libbpf: map 'last_event_map': at sec_idx 11, offset 48. bpftune: libbpf: map 'last_event_map': found type = 1. bpftune: libbpf: map 'last_event_map': found key [12], sz = 8. bpftune: libbpf: map 'last_event_map': found value [12], sz = 8. bpftune: libbpf: map 'last_event_map': found max_entries = 65536. bpftune: libbpf: map 'dst_net_map': at sec_idx 11, offset 80. bpftune: libbpf: map 'dst_net_map': found type = 1. bpftune: libbpf: map 'dst_net_map': found key [12], sz = 8. bpftune: libbpf: map 'dst_net_map': found value [21], sz = 16. bpftune: libbpf: map 'dst_net_map': found max_entries = 65536. bpftune: libbpf: map 'route_ta.bss' (global data): at sec_idx 10, offset 0, flags 400. bpftune: libbpf: map 4 is "route_ta.bss" bpftune: libbpf: map 'route_ta.rodata' (global data): at sec_idx 12, offset 0, flags 480. bpftune: libbpf: map 5 is "route_ta.rodata" bpftune: libbpf: sec '.relkprobe/fib6_run_gc': collecting relocation for section(3) 'kprobe/fib6_run_gc' bpftune: libbpf: sec '.relkprobe/fib6_run_gc': relo #0: insn #5 against 'dst_net_map' bpftune: libbpf: prog 'bpftune_fib6_run_gc_entry': found map 3 (dst_net_map, sec 11, off 80) for insn #5 bpftune: libbpf: sec '.relkprobe/fib6_run_gc': relo #1: insn #18 against 'dst_net_map' bpftune: libbpf: prog 'bpftune_fib6_run_gc_entry': found map 3 (dst_net_map, sec 11, off 80) for insn #18 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': collecting relocation for section(5) 'kretprobe/fib6_run_gc' bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #0: insn #4 against 'dst_net_map' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found map 3 (dst_net_map, sec 11, off 80) for insn #4 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #1: insn #19 against 'bpftune_learning_rate' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found data map 4 (route_ta.bss, sec 10, off 0) for insn 19 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #2: insn #81 against 'init_net' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found extern #0 'init_net' (sym 33) for insn #81 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #3: insn #85 against 'bpftune_init_net' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found data map 4 (route_ta.bss, sec 10, off 0) for insn 85 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #4: insn #100 against 'tuner_id' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found data map 4 (route_ta.bss, sec 10, off 0) for insn 100 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #5: insn #108 against 'last_event_map' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found map 2 (last_event_map, sec 11, off 48) for insn #108 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #6: insn #124 against 'last_event_map' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found map 2 (last_event_map, sec 11, off 48) for insn #124 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #7: insn #141 against 'tuner_id' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found data map 4 (route_ta.bss, sec 10, off 0) for insn 141 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #8: insn #154 against 'ring_buffer_map' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found map 0 (ring_buffer_map, sec 11, off 0) for insn #154 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #9: insn #159 against 'debug' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found data map 4 (route_ta.bss, sec 10, off 0) for insn 159 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #10: insn #164 against '.rodata' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found data map 5 (route_ta.rodata, sec 12, off 0) for insn 164 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #11: insn #172 against '.rodata' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found data map 5 (route_ta.rodata, sec 12, off 0) for insn 172 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #12: insn #179 against 'debug' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found data map 4 (route_ta.bss, sec 10, off 0) for insn 179 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #13: insn #183 against '.rodata' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found data map 5 (route_ta.rodata, sec 12, off 0) for insn 183 bpftune: libbpf: sec '.relkretprobe/fib6_run_gc': relo #14: insn #194 against 'dst_net_map' bpftune: libbpf: prog 'bpftune_fib6_run_gc': found map 3 (dst_net_map, sec 11, off 80) for insn #194 bpftune: libbpf: sec '.relkprobe/fib6_age': collecting relocation for section(7) 'kprobe/fib6_age' bpftune: libbpf: sec '.relkprobe/fib6_age': relo #0: insn #4 against 'dst_net_map' bpftune: libbpf: prog 'entryfib6_age': found map 3 (dst_net_map, sec 11, off 80) for insn #4 bpftune: drop caps (count 0) bpftune: set caps (count 1) bpftune: libbpf: Unsupported BTF_KIND:19 bpftune: libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': -22 bpftune: libbpf: failed to find valid kernel BTF bpftune: libbpf: Error loading vmlinux BTF: -3 bpftune: libbpf: failed to load object 'route_table_tuner_bpf_legacy' bpftune: libbpf: failed to load BPF skeleton 'route_table_tuner_bpf_legacy': -3 bpftune: could not load skeleton: No such process bpftune: drop caps (count 0) bpftune: error initializing '/usr/lib64/bpftune//route_table_tuner.so: No such process bpftune: found lib /usr/lib64/bpftune//net_buffer_tuner.so, init bpftune: set caps (count 1) bpftune: drop caps (count 0) bpftune: calling init for '/usr/lib64/bpftune//net_buffer_tuner.so bpftune: set caps (count 1) bpftune: Read net.core.flow_limit_cpu_bitmap[0] = 0 bpftune: drop caps (count 0) bpftune: set caps (count 1) bpftune: libbpf: loading object 'net_buffer_tuner_bpf_legacy' from buffer bpftune: libbpf: elf: section(3) kretprobe/enqueue_to_backlog, size 2416, link 0, flags 6, type=1 bpftune: libbpf: sec 'kretprobe/enqueue_to_backlog': found program 'bpftune_enqueue_to_backlog' at insn offset 0 (0 bytes), code size 302 insns (2416 bytes) bpftune: libbpf: elf: section(4) .relkretprobe/enqueue_to_backlog, size 480, link 29, flags 40, type=9 bpftune: libbpf: elf: section(5) license, size 7, link 0, flags 3, type=1 bpftune: libbpf: license of net_buffer_tuner_bpf_legacy is GPL v2 bpftune: libbpf: elf: section(6) .bss, size 49, link 0, flags 3, type=8 bpftune: libbpf: elf: section(7) .maps, size 80, link 0, flags 3, type=1 bpftune: libbpf: elf: section(8) .rodata, size 82, link 0, flags 2, type=1 bpftune: libbpf: elf: section(19) .BTF, size 44944, link 0, flags 0, type=1 bpftune: libbpf: elf: section(21) .BTF.ext, size 1868, link 0, flags 0, type=1 bpftune: libbpf: elf: section(29) .symtab, size 1056, link 1, flags 0, type=2 bpftune: libbpf: looking for externs among 44 symbols... bpftune: libbpf: collected 1 externs total bpftune: libbpf: extern (ksym) #0: symbol 32, name netdev_max_backlog bpftune: libbpf: map 'ring_buffer_map': at sec_idx 7, offset 0. bpftune: libbpf: map 'ring_buffer_map': found type = 27. bpftune: libbpf: map 'ring_buffer_map': found max_entries = 131072. bpftune: libbpf: map 'netns_map': at sec_idx 7, offset 16. bpftune: libbpf: map 'netns_map': found type = 1. bpftune: libbpf: map 'netns_map': found key [12], sz = 8. bpftune: libbpf: map 'netns_map': found value [12], sz = 8. bpftune: libbpf: map 'netns_map': found max_entries = 65536. bpftune: libbpf: map 'last_event_map': at sec_idx 7, offset 48. bpftune: libbpf: map 'last_event_map': found type = 1. bpftune: libbpf: map 'last_event_map': found key [12], sz = 8. bpftune: libbpf: map 'last_event_map': found value [12], sz = 8. bpftune: libbpf: map 'last_event_map': found max_entries = 65536. bpftune: libbpf: map 'net_buff.bss' (global data): at sec_idx 6, offset 0, flags 400. bpftune: libbpf: map 3 is "net_buff.bss" bpftune: libbpf: map 'net_buff.rodata' (global data): at sec_idx 8, offset 0, flags 480. bpftune: libbpf: map 4 is "net_buff.rodata" bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': collecting relocation for section(3) 'kretprobe/enqueue_to_backlog' bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #0: insn #36 against 'drop_count' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 36 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #1: insn #46 against 'netdev_max_backlog' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found extern #0 'netdev_max_backlog' (sym 32) for insn #46 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #2: insn #51 against 'drop_interval_start' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 51 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #3: insn #60 against 'drop_count' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 60 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #4: insn #65 against 'drop_count' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 65 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #5: insn #74 against 'bpftune_learning_rate' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 74 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #6: insn #92 against 'bpftune_init_net' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 92 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #7: insn #100 against 'tuner_id' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 100 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #8: insn #108 against 'last_event_map' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found map 2 (last_event_map, sec 7, off 48) for insn #108 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #9: insn #123 against 'last_event_map' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found map 2 (last_event_map, sec 7, off 48) for insn #123 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #10: insn #142 against 'tuner_id' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 142 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #11: insn #151 against 'ring_buffer_map' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found map 0 (ring_buffer_map, sec 7, off 0) for insn #151 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #12: insn #156 against 'debug' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 156 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #13: insn #161 against '.rodata' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 4 (net_buff.rodata, sec 8, off 0) for insn 161 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #14: insn #169 against '.rodata' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 4 (net_buff.rodata, sec 8, off 0) for insn 169 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #15: insn #174 against 'debug' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 174 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #16: insn #178 against '.rodata' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 4 (net_buff.rodata, sec 8, off 0) for insn 178 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #17: insn #193 against 'flow_limit_cpu_bitmap' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 193 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #18: insn #214 against 'bpftune_init_net' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 214 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #19: insn #222 against 'tuner_id' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 222 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #20: insn #234 against 'last_event_map' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found map 2 (last_event_map, sec 7, off 48) for insn #234 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #21: insn #249 against 'last_event_map' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found map 2 (last_event_map, sec 7, off 48) for insn #249 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #22: insn #259 against 'tuner_id' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 259 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #23: insn #265 against 'ring_buffer_map' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found map 0 (ring_buffer_map, sec 7, off 0) for insn #265 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #24: insn #270 against 'debug' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 270 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #25: insn #275 against '.rodata' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 4 (net_buff.rodata, sec 8, off 0) for insn 275 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #26: insn #283 against '.rodata' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 4 (net_buff.rodata, sec 8, off 0) for insn 283 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #27: insn #288 against 'debug' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 288 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #28: insn #292 against '.rodata' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 4 (net_buff.rodata, sec 8, off 0) for insn 292 bpftune: libbpf: sec '.relkretprobe/enqueue_to_backlog': relo #29: insn #297 against 'flow_limit_cpu_bitmap' bpftune: libbpf: prog 'bpftune_enqueue_to_backlog': found data map 3 (net_buff.bss, sec 6, off 0) for insn 297 bpftune: drop caps (count 0) bpftune: set caps (count 1) bpftune: libbpf: Unsupported BTF_KIND:19 bpftune: libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': -22 bpftune: libbpf: failed to find valid kernel BTF bpftune: libbpf: Error loading vmlinux BTF: -3 bpftune: libbpf: failed to load object 'net_buffer_tuner_bpf_legacy' bpftune: libbpf: failed to load BPF skeleton 'net_buffer_tuner_bpf_legacy': -3 bpftune: could not load skeleton: No such process bpftune: drop caps (count 0) bpftune: error initializing '/usr/lib64/bpftune//net_buffer_tuner.so: No such process bpftune: found lib /usr/lib64/bpftune//netns_tuner.so, init bpftune: set caps (count 1) bpftune: drop caps (count 0) bpftune: calling init for '/usr/lib64/bpftune//netns_tuner.so bpftune: set caps (count 1) bpftune: libbpf: loading object 'netns_tuner_bpf_legacy' from buffer bpftune: libbpf: elf: section(3) kprobe/setup_net, size 112, link 0, flags 6, type=1 bpftune: libbpf: sec 'kprobe/setup_net': found program 'bpftune_setup_net' at insn offset 0 (0 bytes), code size 14 insns (112 bytes) bpftune: libbpf: elf: section(4) .relkprobe/setup_net, size 16, link 30, flags 40, type=9 bpftune: libbpf: elf: section(5) kretprobe/setup_net, size 664, link 0, flags 6, type=1 bpftune: libbpf: sec 'kretprobe/setup_net': found program 'bpftune_setup_net_return' at insn offset 0 (0 bytes), code size 83 insns (664 bytes) bpftune: libbpf: elf: section(6) .relkretprobe/setup_net, size 80, link 30, flags 40, type=9 bpftune: libbpf: elf: section(7) license, size 7, link 0, flags 3, type=1 bpftune: libbpf: license of netns_tuner_bpf_legacy is GPL v2 bpftune: libbpf: elf: section(8) .bss, size 25, link 0, flags 3, type=8 bpftune: libbpf: elf: section(9) .maps, size 112, link 0, flags 3, type=1 bpftune: libbpf: elf: section(20) .BTF, size 43816, link 0, flags 0, type=1 bpftune: libbpf: elf: section(22) .BTF.ext, size 604, link 0, flags 0, type=1 bpftune: libbpf: elf: section(30) .symtab, size 720, link 1, flags 0, type=2 bpftune: libbpf: looking for externs among 30 symbols... bpftune: libbpf: collected 1 externs total bpftune: libbpf: extern (ksym) #0: symbol 21, name init_net bpftune: libbpf: map 'ring_buffer_map': at sec_idx 9, offset 0. bpftune: libbpf: map 'ring_buffer_map': found type = 27. bpftune: libbpf: map 'ring_buffer_map': found max_entries = 131072. bpftune: libbpf: map 'netns_map': at sec_idx 9, offset 16. bpftune: libbpf: map 'netns_map': found type = 1. bpftune: libbpf: map 'netns_map': found key [12], sz = 8. bpftune: libbpf: map 'netns_map': found value [12], sz = 8. bpftune: libbpf: map 'netns_map': found max_entries = 65536. bpftune: libbpf: map 'last_event_map': at sec_idx 9, offset 48. bpftune: libbpf: map 'last_event_map': found type = 1. bpftune: libbpf: map 'last_event_map': found key [12], sz = 8. bpftune: libbpf: map 'last_event_map': found value [12], sz = 8. bpftune: libbpf: map 'last_event_map': found max_entries = 65536. bpftune: libbpf: map 'setup_net_map': at sec_idx 9, offset 80. bpftune: libbpf: map 'setup_net_map': found type = 1. bpftune: libbpf: map 'setup_net_map': found key [12], sz = 8. bpftune: libbpf: map 'setup_net_map': found value [12], sz = 8. bpftune: libbpf: map 'setup_net_map': found max_entries = 65536. bpftune: libbpf: map 'netns_tu.bss' (global data): at sec_idx 8, offset 0, flags 400. bpftune: libbpf: map 4 is "netns_tu.bss" bpftune: libbpf: sec '.relkprobe/setup_net': collecting relocation for section(3) 'kprobe/setup_net' bpftune: libbpf: sec '.relkprobe/setup_net': relo #0: insn #8 against 'setup_net_map' bpftune: libbpf: prog 'bpftune_setup_net': found map 3 (setup_net_map, sec 9, off 80) for insn #8 bpftune: libbpf: sec '.relkretprobe/setup_net': collecting relocation for section(5) 'kretprobe/setup_net' bpftune: libbpf: sec '.relkretprobe/setup_net': relo #0: insn #38 against 'setup_net_map' bpftune: libbpf: prog 'bpftune_setup_net_return': found map 3 (setup_net_map, sec 9, off 80) for insn #38 bpftune: libbpf: sec '.relkretprobe/setup_net': relo #1: insn #45 against 'tuner_id' bpftune: libbpf: prog 'bpftune_setup_net_return': found data map 4 (netns_tu.bss, sec 8, off 0) for insn 45 bpftune: libbpf: sec '.relkretprobe/setup_net': relo #2: insn #65 against 'init_net' bpftune: libbpf: prog 'bpftune_setup_net_return': found extern #0 'init_net' (sym 21) for insn #65 bpftune: libbpf: sec '.relkretprobe/setup_net': relo #3: insn #68 against 'bpftune_init_net' bpftune: libbpf: prog 'bpftune_setup_net_return': found data map 4 (netns_tu.bss, sec 8, off 0) for insn 68 bpftune: libbpf: sec '.relkretprobe/setup_net': relo #4: insn #76 against 'ring_buffer_map' bpftune: libbpf: prog 'bpftune_setup_net_return': found map 0 (ring_buffer_map, sec 9, off 0) for insn #76 bpftune: drop caps (count 0) bpftune: set caps (count 1) bpftune: libbpf: Unsupported BTF_KIND:19 bpftune: libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': -22 bpftune: libbpf: failed to find valid kernel BTF bpftune: libbpf: Error loading vmlinux BTF: -3 bpftune: libbpf: failed to load object 'netns_tuner_bpf_legacy' bpftune: libbpf: failed to load BPF skeleton 'netns_tuner_bpf_legacy': -3 bpftune: could not load skeleton: No such process bpftune: drop caps (count 0) bpftune: error initializing '/usr/lib64/bpftune//netns_tuner.so: No such process bpftune: found lib /usr/lib64/bpftune//neigh_table_tuner.so, init bpftune: set caps (count 1) bpftune: drop caps (count 0) bpftune: calling init for '/usr/lib64/bpftune//neigh_table_tuner.so bpftune: set caps (count 1) bpftune: libbpf: loading object 'neigh_table_tuner_bpf_legacy' from buffer bpftune: libbpf: elf: section(3) raw_tracepoint/neigh_create, size 1816, link 0, flags 6, type=1 bpftune: libbpf: sec 'raw_tracepoint/neigh_create': found program 'bpftune_neigh_create' at insn offset 0 (0 bytes), code size 227 insns (1816 bytes) bpftune: libbpf: elf: section(4) .relraw_tracepoint/neigh_create, size 128, link 28, flags 40, type=9 bpftune: libbpf: elf: section(5) license, size 7, link 0, flags 3, type=1 bpftune: libbpf: license of neigh_table_tuner_bpf_legacy is GPL v2 bpftune: libbpf: elf: section(6) .bss, size 25, link 0, flags 3, type=8 bpftune: libbpf: elf: section(7) .maps, size 112, link 0, flags 3, type=1 bpftune: libbpf: elf: section(18) .BTF, size 46064, link 0, flags 0, type=1 bpftune: libbpf: elf: section(20) .BTF.ext, size 1244, link 0, flags 0, type=1 bpftune: libbpf: elf: section(28) .symtab, size 792, link 1, flags 0, type=2 bpftune: libbpf: looking for externs among 33 symbols... bpftune: libbpf: collected 1 externs total bpftune: libbpf: extern (ksym) #0: symbol 25, name init_net bpftune: libbpf: map 'ring_buffer_map': at sec_idx 7, offset 0. bpftune: libbpf: map 'ring_buffer_map': found type = 27. bpftune: libbpf: map 'ring_buffer_map': found max_entries = 131072. bpftune: libbpf: map 'netns_map': at sec_idx 7, offset 16. bpftune: libbpf: map 'netns_map': found type = 1. bpftune: libbpf: map 'netns_map': found key [12], sz = 8. bpftune: libbpf: map 'netns_map': found value [12], sz = 8. bpftune: libbpf: map 'netns_map': found max_entries = 65536. bpftune: libbpf: map 'last_event_map': at sec_idx 7, offset 48. bpftune: libbpf: map 'last_event_map': found type = 1. bpftune: libbpf: map 'last_event_map': found key [12], sz = 8. bpftune: libbpf: map 'last_event_map': found value [12], sz = 8. bpftune: libbpf: map 'last_event_map': found max_entries = 65536. bpftune: libbpf: map 'tbl_map': at sec_idx 7, offset 80. bpftune: libbpf: map 'tbl_map': found type = 1. bpftune: libbpf: map 'tbl_map': found key [12], sz = 8. bpftune: libbpf: map 'tbl_map': found value [21], sz = 36. bpftune: libbpf: map 'tbl_map': found max_entries = 1024. bpftune: libbpf: map 'neigh_ta.bss' (global data): at sec_idx 6, offset 0, flags 400. bpftune: libbpf: map 4 is "neigh_ta.bss" bpftune: libbpf: sec '.relraw_tracepoint/neigh_create': collecting relocation for section(3) 'raw_tracepoint/neigh_create' bpftune: libbpf: sec '.relraw_tracepoint/neigh_create': relo #0: insn #39 against 'tbl_map' bpftune: libbpf: prog 'bpftune_neigh_create': found map 3 (tbl_map, sec 7, off 80) for insn #39 bpftune: libbpf: sec '.relraw_tracepoint/neigh_create': relo #1: insn #94 against 'tbl_map' bpftune: libbpf: prog 'bpftune_neigh_create': found map 3 (tbl_map, sec 7, off 80) for insn #94 bpftune: libbpf: sec '.relraw_tracepoint/neigh_create': relo #2: insn #99 against 'tbl_map' bpftune: libbpf: prog 'bpftune_neigh_create': found map 3 (tbl_map, sec 7, off 80) for insn #99 bpftune: libbpf: sec '.relraw_tracepoint/neigh_create': relo #3: insn #139 against 'bpftune_learning_rate' bpftune: libbpf: prog 'bpftune_neigh_create': found data map 4 (neigh_ta.bss, sec 6, off 0) for insn 139 bpftune: libbpf: sec '.relraw_tracepoint/neigh_create': relo #4: insn #170 against 'tuner_id' bpftune: libbpf: prog 'bpftune_neigh_create': found data map 4 (neigh_ta.bss, sec 6, off 0) for insn 170 bpftune: libbpf: sec '.relraw_tracepoint/neigh_create': relo #5: insn #187 against 'init_net' bpftune: libbpf: prog 'bpftune_neigh_create': found extern #0 'init_net' (sym 25) for insn #187 bpftune: libbpf: sec '.relraw_tracepoint/neigh_create': relo #6: insn #190 against 'bpftune_init_net' bpftune: libbpf: prog 'bpftune_neigh_create': found data map 4 (neigh_ta.bss, sec 6, off 0) for insn 190 bpftune: libbpf: sec '.relraw_tracepoint/neigh_create': relo #7: insn #220 against 'ring_buffer_map' bpftune: libbpf: prog 'bpftune_neigh_create': found map 0 (ring_buffer_map, sec 7, off 0) for insn #220 bpftune: drop caps (count 0) bpftune: set caps (count 1) bpftune: libbpf: Unsupported BTF_KIND:19 bpftune: libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': -22 bpftune: libbpf: failed to find valid kernel BTF bpftune: libbpf: Error loading vmlinux BTF: -3 bpftune: libbpf: failed to load object 'neigh_table_tuner_bpf_legacy' bpftune: libbpf: failed to load BPF skeleton 'neigh_table_tuner_bpf_legacy': -3 bpftune: could not load skeleton: No such process bpftune: drop caps (count 0) bpftune: error initializing '/usr/lib64/bpftune//neigh_table_tuner.so: No such process bpftune: found lib /usr/lib64/bpftune//sysctl_tuner.so, init bpftune: set caps (count 1) bpftune: drop caps (count 0) bpftune: calling init for '/usr/lib64/bpftune//sysctl_tuner.so bpftune: set caps (count 1) bpftune: libbpf: loading object 'sysctl_tuner_bpf_legacy' from buffer bpftune: libbpf: elf: section(3) kprobe/cgroup_bpf_run_filter_sysctl, size 1512, link 0, flags 6, type=1 bpftune: libbpf: sec 'kprobe/cgroup_bpf_run_filter_sysctl': found program 'bpftune_sysctl' at insn offset 0 (0 bytes), code size 189 insns (1512 bytes) bpftune: libbpf: elf: section(4) .relkprobe/cgroup_bpf_run_filter_sysctl, size 80, link 29, flags 40, type=9 bpftune: libbpf: elf: section(5) cgroup/sysctl, size 16, link 0, flags 6, type=1 bpftune: libbpf: sec 'cgroup/sysctl': found program 'sysctl_write' at insn offset 0 (0 bytes), code size 2 insns (16 bytes) bpftune: libbpf: elf: section(6) license, size 7, link 0, flags 3, type=1 bpftune: libbpf: license of sysctl_tuner_bpf_legacy is GPL v2 bpftune: libbpf: elf: section(7) .bss, size 25, link 0, flags 3, type=8 bpftune: libbpf: elf: section(8) .maps, size 80, link 0, flags 3, type=1 bpftune: libbpf: elf: section(19) .BTF, size 44888, link 0, flags 0, type=1 bpftune: libbpf: elf: section(21) .BTF.ext, size 1428, link 0, flags 0, type=1 bpftune: libbpf: elf: section(29) .symtab, size 792, link 1, flags 0, type=2 bpftune: libbpf: looking for externs among 33 symbols... bpftune: libbpf: collected 1 externs total bpftune: libbpf: extern (ksym) #0: symbol 24, name init_net bpftune: libbpf: map 'ring_buffer_map': at sec_idx 8, offset 0. bpftune: libbpf: map 'ring_buffer_map': found type = 27. bpftune: libbpf: map 'ring_buffer_map': found max_entries = 131072. bpftune: libbpf: map 'netns_map': at sec_idx 8, offset 16. bpftune: libbpf: map 'netns_map': found type = 1. bpftune: libbpf: map 'netns_map': found key [12], sz = 8. bpftune: libbpf: map 'netns_map': found value [12], sz = 8. bpftune: libbpf: map 'netns_map': found max_entries = 65536. bpftune: libbpf: map 'last_event_map': at sec_idx 8, offset 48. bpftune: libbpf: map 'last_event_map': found type = 1. bpftune: libbpf: map 'last_event_map': found key [12], sz = 8. bpftune: libbpf: map 'last_event_map': found value [12], sz = 8. bpftune: libbpf: map 'last_event_map': found max_entries = 65536. bpftune: libbpf: map 'sysctl_t.bss' (global data): at sec_idx 7, offset 0, flags 400. bpftune: libbpf: map 3 is "sysctl_t.bss" bpftune: libbpf: sec '.relkprobe/cgroup_bpf_run_filter_sysctl': collecting relocation for section(3) 'kprobe/cgroup_bpf_run_filter_sysctl' bpftune: libbpf: sec '.relkprobe/__cgroup_bpf_run_filter_sysctl': relo #0: insn #38 against 'tuner_id' bpftune: libbpf: prog 'bpftune_sysctl': found data map 3 (sysctl_t.bss, sec 7, off 0) for insn 38 bpftune: libbpf: sec '.relkprobe/cgroup_bpf_run_filter_sysctl': relo #1: insn #44 against 'bpftune_pid' bpftune: libbpf: prog 'bpftune_sysctl': found data map 3 (sysctl_t.bss, sec 7, off 0) for insn 44 bpftune: libbpf: sec '.relkprobe/__cgroup_bpf_run_filter_sysctl': relo #2: insn #102 against 'init_net' bpftune: libbpf: prog 'bpftune_sysctl': found extern #0 'init_net' (sym 24) for insn #102 bpftune: libbpf: sec '.relkprobe/cgroup_bpf_run_filter_sysctl': relo #3: insn #106 against 'bpftune_init_net' bpftune: libbpf: prog 'bpftune_sysctl': found data map 3 (sysctl_t.bss, sec 7, off 0) for insn 106 bpftune: libbpf: sec '.relkprobe/cgroup_bpf_run_filter_sysctl': relo #4: insn #182 against 'ring_buffer_map' bpftune: libbpf: prog 'bpftune_sysctl': found map 0 (ring_buffer_map, sec 8, off 0) for insn #182 bpftune: drop caps (count 0) bpftune: set caps (count 1) bpftune: libbpf: Unsupported BTF_KIND:19 bpftune: libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': -22 bpftune: libbpf: failed to find valid kernel BTF bpftune: libbpf: Error loading vmlinux BTF: -3 bpftune: libbpf: failed to load object 'sysctl_tuner_bpf_legacy' bpftune: libbpf: failed to load BPF skeleton 'sysctl_tuner_bpf_legacy': -3 bpftune: could not load skeleton: No such process bpftune: drop caps (count 0) bpftune: error initializing '/usr/lib64/bpftune//sysctl_tuner.so: No such process bpftune: set caps (count 1) bpftune: drop caps (count 0) bpftune: no ringbuf events to watch, exiting. bpftune: could not initialize tuners in '/usr/lib64/bpftune/'

cappelikan commented 1 year ago

thanks for the report.can you try "bpftune -ds" (should provide more debug info)? can you also confirm you're using latest "main" branch (there were some bugs impacting behaviour on ubuntu that are hopefully fixed now)? can you also provide info on which kernel you're using (uname -r) - i've been testing on an ubuntu 22.04 image using a 5.15 kernel.

✘ cappelikan@cappelikan-775i945gz  ~  kinfo
Operating System: KDE neon 5.27 KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 Kernel Version: 6.4.3-060403-generic (64-bit) Graphics Platform: offscreen Processors: 2 × Intel® Core™2 Duo CPU E4700 @ 2.60GHz Memory: 2.8 ГіБ of RAM Graphics Processor: GeForce 210/PCIe/SSE2

kde neon 5.27.6 based on ubuntu 22.04 lts

alan-maguire commented 1 year ago

thanks for the additional info! the problem is

bpftune: libbpf: Unsupported BTF_KIND:19 bpftune: libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': -22 bpftune: libbpf: failed to find valid kernel BTF

The reason for this is the toolchain (libbpf+bpftool) used to build bpftune doesn't know about BTF_KIND_ENUM64 which is in the kernel BPF Type Format information (BTF) that is embedded when the kernel was built; the toolchain used to build the kernel BTF (pahole+libbpf) is newer than the toolchain used to build bpftune. To get libbpf enum64 support you would need a libbpf version 1.0.0 or later. Not sure if that's packaged for ubuntu yet; alternatively you could try building libbpf from source from github.com/libbpf/libbpf.

The real issue here is that Ubuntu shouldn't build BTF for a 5.15 kernel with such new tools, or if they do they should omit the problematic BTF information.

alan-maguire commented 1 year ago

trying to solve this upstream so future BTF generation will not trip up like this; see https://lore.kernel.org/bpf/20230720201443.224040-1-alan.maguire@oracle.com/

alan-maguire commented 1 year ago

from the bpftune side https://github.com/oracle/bpftune/pull/54 merged a "no BTF" mode of operation which we should fall back to when BTF is missing or invalid (from bpftune's perspective). it's not ideal (because we don't get the automatic fixing of kernel data structure offsets so may be reading bad data), but it's the best we can do under the circumstances.

alan-maguire commented 1 year ago

now that we have "no BTF" mode of operation, closing this issue. we still have issue 37 open which covers the same area, so we can track any further problems there if needed.