home.social

#libbpf — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #libbpf, aggregated by home.social.

  1. PPAs Updates

    Latest versions of BCC (v0.29.1) and libbpf (v1.3.0) are now available from the bpftrace PPA for bionic, focal and jammy. There's also latest bpftrace (0.19.0) available but only for jammy (I [...]

    🔗 chbk.co/GdMhw

  2. Today's bug is a `libbpf` bug: lore.kernel.org/bpf/ZXcFRJVKbK

    `bpftool` fails to recognize `BPF` programs. But it does it only when all of the below are true:

    1. ran on 32-bit host system (`bpftool` is a 32-bit `ELF`)
    2. `BPF` is compiled with compressed debug sections, like `-Wa,--compress-debug-sections` flag

    Error: failed to link 'bpf.o': Invalid argument (22)

    With git.kernel.org/pub/scm/linux/k

    it now says

    libbpf: ELF section #9 has inconsistent alignment addr=8 != d=4 in bpf.o