From ab19df11bb40756bccf11223bedb6fac8de72021 Mon Sep 17 00:00:00 2001 From: Gregory Bell Date: Wed, 19 Nov 2025 09:19:39 -0500 Subject: [PATCH] New release: v1.31 Resolves: RHEL-79004 Signed-off-by: Gregory Bell --- .gitignore | 1 + dwarves.spec | 26 +++++++++++++++++++++----- sources | 2 +- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index c76de53..1e5bdcb 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /dwarves-1.25.tar.xz /dwarves-1.27.tar.xz /dwarves-1.30.tar.xz +/dwarves-1.31.tar.xz diff --git a/dwarves.spec b/dwarves.spec index e9e091e..3414bcd 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -2,8 +2,8 @@ %define libver 1 Name: dwarves -Version: 1.30 -Release: 2%{?dist} +Version: 1.31 +Release: 1%{?dist} License: GPL-2.0-only Summary: Debugging Information Manipulation Tools (pahole & friends) URL: http://acmel.wordpress.com @@ -80,9 +80,7 @@ rm -Rf %{buildroot} %files %doc README.ctracer %doc README.btf -%doc changes-v1.28 -%doc changes-v1.29 -%doc changes-v1.30 +%doc changes-v1.31 %doc NEWS %{_bindir}/btfdiff %{_bindir}/codiff @@ -134,6 +132,24 @@ rm -Rf %{buildroot} %{_libdir}/%{libname}_reorganize.so %changelog +* Wed Nov 19 2025 Gregory Bell - 1.31-1 +- Rework the selection of functions to represent in BTF, for instance: +- Skip functions that passes values thru the stack when those structs don't + have expected alignment due to some attribute usage that then causes + problems with BTF trampolines due to lack of expressiveness in BTF to + signal such special cases. +- Skip objects (compile units) without DWARF: don't stop a multi object + encoding session just because one doesn't have any DWARF in it. +- Fix BTF dedup by updating libbpf. +- Fix the inference of the explicit alignment attribute of zero length arrays, + like struct skb_ext->data[] in the Linux kernel. Important as BTF has no no + explicit alignment attribute encoding. +- Fix the inference of alignments after bitfields, such as in struct + nft_rule_dp->data[] after ->handle:42, also in the Linux kernel. +- Fix segfault with --show_reorg_steps option, e.g. pahole -R -S -C task_struct. +- Add comparision of functions encoded in BTF between baseline 'master' branch + and current branch, i.e. 'next'. + * Fri Jun 20 2025 Gregory Bell - 1.30-1 - New release: 1.30 - Better detection of abort during DWARF loader thread processing diff --git a/sources b/sources index 8410e80..ea3457a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dwarves-1.30.tar.xz) = 222ad1f8e7bd4e079b4bf9059eaadebc23a0f4a95a77374b1162a1704acdceb794743e61bc14ec1cbda9a7c686f6972c243e784aeedf39cc15b6a8c6a4f1e2eb +SHA512 (dwarves-1.31.tar.xz) = 0761159c6e0400b32761c7497a2dde2f0ba1992a381480c2a20c33e3aceafeb3a1a7d58ecc3a8ae236a2dc5b4eca0ed38b5fc9b13a83cfc1e6b980ccf835214e