* Mon Jul 21 2025 shung-hsi.yu@suse.com
- update to 1.6.0:
* add more control over BPF object lifetime with new preparation step
(bpf_object__prepare() API)
* libbpf will report symbolic error code (e.g., "-EINVAL") in addition to
human-readable error description
* bpf_prog_stream_read() API
* BPF token support when attaching BPF trampoline-based BPF programs in
bpf_program__set_attach_target()
* BPF token support for BPF_BTF_GET_FD_BY_ID command
* support multi-uprobe session (SEC("uprobe.session")) BPF programs
* support unique_match option for multi-kprobe attachment
* support creating and destroying qdisk with BPF_TC_QDISC flag;
* bpf_program__attach_cgroup_opts() which enables more precise cgroup-based
attachment ordering
* automatically take advantage of memory-mappable kernel BTF
(/sys/kernel/btf/vmlinux), if supported
* emit_strings option for BTF dumper API, improving string-like data printing
* add BPF program's func and line info accessors
* BPF linker supports linking ELF object files coming from memory buffer and
referenced by FD, in addition to file path-based APIs;
* small improvements to BTF dedup to handle rare quirky corner cases produces
by some compilers
* add likely() and unlikely() convenience macros;
* __arg_untrusted annotation for BPF global subprog arguments;
* bpf_stream_printk() macro for working with BPF streams;
* bpf_usdt_arg_size() API
- update to 1.6.0:
* fixing a possible crash when handling BPF arena global variable relocations
- drop 0001-libbpf-Add-identical-pointer-detection-to-btf_dedup_.patch, which
is now included
* Thu Jun 05 2025 shung-hsi.yu@suse.com
- Workaround kernel module size increase due to BTF deduplication
issue since the introduction of TYPEOF_UNQUAL (poo#183503 bsc#1244135)
* add 0001-libbpf-Add-identical-pointer-detection-to-btf_dedup_.patch
* Tue May 20 2025 fredrik.lonnegren@suse.com
- update to 1.5.1:
* Patch release with a single backported change that improves compatibility
story of older versions of libbpf-cargo.
https://github.com/libbpf/libbpf/commit/
453601a65a6ebcf523b009585b49ce0ad0adeff1
* Wed Dec 18 2024 shung-hsi.yu@suse.com
- Drop libbpf-Fix-NULL-pointer-dereference-in-bpf_object__c.patch
* included since 1.4.0
* Wed Oct 30 2024 fredrik.lonnegren@suse.com
- update to 1.5.0:
* libbpf can now open (but not load!) BPF objects of non-native endianness,
enabling cross-architecture support for BPF skeleton generation and BPF
object introspection
* BPF skeleton will now auto-attach SEC(".struct_ops") maps as part of
<skeleton>__attach() call
* BPF kprobe session programs support (SEC("kprobe.session"))
* allow specifying kernel module name for fentry/fexit BPF programs
(SEC(fentry/module:function)
* libbpf recognizes LIBBPF_LOG_LEVEL environment variable, which can be used
to set default log verboseness
* BPF ringbuf APIs that limit maximum number of consumed records at a time
(ring_buffer__consume_n(), ring__consume_n())
* distilled BTF support (btf__distill_base(), btf__relocate())
* BPF link-based attachment of BPF_PROG_TYPE_SOCKMAP programs
(bpf_program__attach_sockmap())
* bpf_object__token_fd() API to fetch BPF token FD of a BPF object, if any
* fixes for fetching syscall arguments on arm64, s390x, risc-v architectures
* better GCC-BPF source code compatibility
* __bpf_fastcall support for a few BPF helpers
* __uptr annotation definition added to bpf/bpf_helpers.h API header
* fixes and improvements around handling missing and nulled out struct_ops
programs
* fixed mmap()-ing logic for global data, fixing interop between generic
bpf_object__open() APIs and BPF subskeletons
* BPF skeleton backwards compatibility handling fixes
* handle LTO-produced *.llvm.<hash> symbols better
* feature detection fixes in the presence of BPF token inside user namespace
* older kernels have broken PID filtering logic for multi-uprobes, libbpf now
detects this and avoids the use of multi-uprobes for USDTs
* fix accidental drop of FD_CLOEXEC flag during BPF map reuse
* few BTF dumper formatting fixes
* a few more small fixes all around.
* Wed Oct 30 2024 fredrik.lonnegren@suse.com
- update to 1.4.7:
* fix interop issues between generic bpf_object__open() APIs and BPF
subskeleton w.r.t. global data handling
* speed up BTF sanity checks by skipping already validated base BTF
* fix legacy treatment of non-SEC()-annotated subprogram as entry BPF program
in some cases
* Wed Sep 04 2024 fredrik.lonnegren@suse.com
- update to 1.4.6:
* BPF skeleton forward compatibility fix (f6f2402);
* BTF endianness inheritance bug fix (fe28fae).
* Thu Jul 18 2024 dmueller@suse.com
- update to 1.4.5:
* Another small bug fix release backporting https://github.com/
libbpf/libbpf/commit/d9f9fd5b22223ae69c62e083da6093d95a0db799
which works around kernel-side bug with USDT PID filtering on
kernels that support multi-uprobe (but have broken PID
filtering).
* Tue Jun 04 2024 shung-hsi.yu@suse.com
- update to 1.4.3:
* Fix libbpf unintentionally dropping FD_CLOEXEC flag when (internally)
duping FDs
* Tue May 21 2024 shung-hsi.yu@suse.com
- Fix null pointer dereference in bpf_object__collect_prog_relos()
(bsc#1221101)
* Add libbpf-Fix-NULL-pointer-dereference-in-bpf_object__c.patch