From 494640f937c3e4637d48510bd23eefa7d942374eebccc291fb770203a1f554cc Mon Sep 17 00:00:00 2001 From: Shung-Hsi Yu Date: Wed, 3 May 2023 07:35:23 +0000 Subject: [PATCH] Accepting request 1083953 from home:dirkmueller:Factory - update to 1.2.0: * completely overhauled "Libbpf overview" landing documentation page; * support for BPF link-based `struct_ops` programs: * `SEC(".struct_ops.link")` annotations; * `bpf_map__attach_struct_ops()` attach API; * `bpf_link__update_map()` link update API; * support sleepable `SEC("struct_ops.s")` programs * improved thread-safety of libbpf print callbacks and `libbpf_set_print()` * improve handling and reporting of missing BPF kfuncs * `bpf_{btf,link,map,prog}_get_info_by_fd()` APIs * `bpf_xdp_query_opts()` supports fetching XDP/XSK supported features; * `perf_buffer__new()` allows customizing notification/sampling period now; * BPF verifier logging improvements: * pass-through BPF verifier log level and flags to kernel as is * support `log_true_size` for getting required log buffer size to fit BPF verifier log completely; * allow precise control over kprobe/uprobe attach mode: legacy, perf-based, link-based. * fix legacy kprobe events names sanitization; * fix clobbering errno in some cases; * fix BPF map's `BPF_F_MMAPABLE` flag sanitization; * fix BPF-side USDT support code on s390x architecture; * fix `BPF_PROBE_READ{_STR}_INTO()` on s390x architecture; * fix kernel version setting for Debian kernels; * fix netlink protocol handling in some cases; OBS-URL: https://build.opensuse.org/request/show/1083953 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbpf?expand=0&rev=31 --- libbpf-1.1.0.tar.gz | 3 --- libbpf-1.2.0.tar.gz | 3 +++ libbpf.changes | 38 ++++++++++++++++++++++++++++++++++++++ libbpf.spec | 2 +- 4 files changed, 42 insertions(+), 4 deletions(-) delete mode 100644 libbpf-1.1.0.tar.gz create mode 100644 libbpf-1.2.0.tar.gz diff --git a/libbpf-1.1.0.tar.gz b/libbpf-1.1.0.tar.gz deleted file mode 100644 index f15414e..0000000 --- a/libbpf-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5da826c968fdb8a2f714701cfef7a4b7078be030cf58b56143b245816301cbb8 -size 2337951 diff --git a/libbpf-1.2.0.tar.gz b/libbpf-1.2.0.tar.gz new file mode 100644 index 0000000..cc89fac --- /dev/null +++ b/libbpf-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dadd4bb6ab3bf9c667d42ee2ae4f7673fca8c60c0f467fcd88c211478266f644 +size 999623 diff --git a/libbpf.changes b/libbpf.changes index dfe6c66..8a95646 100644 --- a/libbpf.changes +++ b/libbpf.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Tue May 2 08:03:30 UTC 2023 - Dirk Müller + +- update to 1.2.0: + * completely overhauled "Libbpf overview" landing documentation + page; + * support for BPF link-based `struct_ops` programs: + * `SEC(".struct_ops.link")` annotations; + * `bpf_map__attach_struct_ops()` attach API; + * `bpf_link__update_map()` link update API; + * support sleepable `SEC("struct_ops.s")` programs + * improved thread-safety of libbpf print callbacks and + `libbpf_set_print()` + * improve handling and reporting of missing BPF kfuncs + * `bpf_{btf,link,map,prog}_get_info_by_fd()` APIs + * `bpf_xdp_query_opts()` supports fetching XDP/XSK supported + features; + * `perf_buffer__new()` allows customizing notification/sampling + period now; + * BPF verifier logging improvements: + * pass-through BPF verifier log level and flags to kernel as + is + * support `log_true_size` for getting required log buffer size + to fit BPF verifier log completely; + * allow precise control over kprobe/uprobe attach mode: legacy, + perf-based, link-based. + * fix legacy kprobe events names sanitization; + * fix clobbering errno in some cases; + * fix BPF map's `BPF_F_MMAPABLE` flag sanitization; + * fix BPF-side USDT support code on s390x architecture; + * fix `BPF_PROBE_READ{_STR}_INTO()` on s390x architecture; + * fix kernel version setting for Debian kernels; + * fix netlink protocol handling in some cases; + * improve robustness of attaching to legacy kprobes and + uprobes; + * fix double-free during static linking empty ELF sections; + * a bunch of other small fixes here and there. + ------------------------------------------------------------------- Thu Jan 5 07:02:19 UTC 2023 - Shung-Hsi Yu diff --git a/libbpf.spec b/libbpf.spec index 33e3d87..1db5280 100644 --- a/libbpf.spec +++ b/libbpf.spec @@ -19,7 +19,7 @@ %define sover_major 1 %define libname libbpf%{sover_major} Name: libbpf -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: C library for managing eBPF programs and maps License: LGPL-2.1-only