forked from pool/libbpf
Compare commits
11 Commits
Author | SHA256 | Date | |
---|---|---|---|
2238141547 | |||
|
8a95084b54 | ||
9370442474 | |||
|
2b4f0f2395 | ||
|
4fc55ab17f | ||
54d6377069 | |||
66726896d8 | |||
11478b6761 | |||
|
65065dce7c | ||
440a6d99a7 | |||
|
4542be3c8c |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d4cf3ee697d9bd959ad3c0f5c6757370a2559e54448761271e15a23c31c1082e
|
|
||||||
size 1016372
|
|
BIN
libbpf-1.6.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
libbpf-1.6.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
110
libbpf.changes
110
libbpf.changes
@@ -1,3 +1,106 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 21 03:31:14 UTC 2025 - Shung-Hsi Yu <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 5 14:34:05 UTC 2025 - Shung-Hsi Yu <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 11:29:45 UTC 2025 - Fredrik Lönnegren <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 09:55:26 UTC 2024 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
||||||
|
|
||||||
|
- Drop libbpf-Fix-NULL-pointer-dereference-in-bpf_object__c.patch
|
||||||
|
* included since 1.4.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 30 15:59:44 UTC 2024 - Fredrik Lönnegren <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 15:29:42 UTC 2024 - Fredrik Lönnegren <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 4 08:44:47 UTC 2024 - Fredrik Lönnegren <fredrik.lonnegren@suse.com>
|
Wed Sep 4 08:44:47 UTC 2024 - Fredrik Lönnegren <fredrik.lonnegren@suse.com>
|
||||||
|
|
||||||
@@ -22,6 +125,13 @@ Tue Jun 4 06:10:48 UTC 2024 - Shung-Hsi Yu <shung-hsi.yu@suse.com>
|
|||||||
* Fix libbpf unintentionally dropping FD_CLOEXEC flag when (internally)
|
* Fix libbpf unintentionally dropping FD_CLOEXEC flag when (internally)
|
||||||
duping FDs
|
duping FDs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 07:07:12 UTC 2024 - Shung-Hsi Yu <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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 11 07:03:51 UTC 2024 - Fredrik Lönnegren <fredrik.lonnegren@suse.com>
|
Sat May 11 07:03:51 UTC 2024 - Fredrik Lönnegren <fredrik.lonnegren@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libbpf
|
# spec file for package libbpf
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
%define sover_major 1
|
%define sover_major 1
|
||||||
%define libname libbpf%{sover_major}
|
%define libname libbpf%{sover_major}
|
||||||
Name: libbpf
|
Name: libbpf
|
||||||
Version: 1.4.6
|
Version: 1.6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C library for managing eBPF programs and maps
|
Summary: C library for managing eBPF programs and maps
|
||||||
License: LGPL-2.1-only
|
License: LGPL-2.1-only
|
||||||
|
Reference in New Issue
Block a user