From a86a584c89997b090032fca91af9a8bd7fc352c9 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 4 Dec 2025 11:29:11 +0000 Subject: [PATCH] Import from AlmaLinux stable repository --- .dwarves.metadata | 2 +- .gitignore | 2 +- SPECS/dwarves.spec | 66 +++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 65 insertions(+), 5 deletions(-) diff --git a/.dwarves.metadata b/.dwarves.metadata index a2412b3..6d0469c 100644 --- a/.dwarves.metadata +++ b/.dwarves.metadata @@ -1 +1 @@ -251fc1ff6b0f953f565f74c25c8aa55e7f8c50d9 SOURCES/dwarves-1.25.tar.xz +44240d08c7858d760dcc02cc5e64f77d6771ef6b SOURCES/dwarves-1.30.tar.xz diff --git a/.gitignore b/.gitignore index 25d660c..73e5b72 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/dwarves-1.25.tar.xz +SOURCES/dwarves-1.30.tar.xz diff --git a/SPECS/dwarves.spec b/SPECS/dwarves.spec index 994d10d..a7e8526 100644 --- a/SPECS/dwarves.spec +++ b/SPECS/dwarves.spec @@ -2,7 +2,7 @@ %define libver 1 Name: dwarves -Version: 1.25 +Version: 1.30 Release: 1%{?dist} License: GPLv2 Summary: Debugging Information Manipulation Tools (pahole & friends) @@ -65,7 +65,7 @@ Requires: %{libname}%{libver} = %{version}-%{release} Debugging information processing library development files. %prep -%setup -q +%autosetup -p1 %build %cmake -DCMAKE_BUILD_TYPE=Release -DLIBBPF_EMBEDDED=Off . @@ -80,7 +80,9 @@ rm -Rf %{buildroot} %files %doc README.ctracer %doc README.btf -%doc changes-v1.25 +%doc changes-v1.28 +%doc changes-v1.29 +%doc changes-v1.30 %doc NEWS %{_bindir}/btfdiff %{_bindir}/codiff @@ -132,6 +134,64 @@ rm -Rf %{buildroot} %{_libdir}/%{libname}_reorganize.so %changelog +* Fri Jun 20 2025 Gregory Bell - 1.30-1 +- New release: 1.30 +- Better detection of abort during DWARF loader thread processing +- pahole now detects presence of libbpf APIs and BTF features using weak function + declarations when built using a shared library libbpf +- Type tags are emitted for BPF arena pointers with new BTF "attributes" feature +- New release: 1.29 +- Multithreading is now in the DWARF loader using a jobs queue and a pool of worker threads. +- The BTF encoding now is always reproducible, and as fast/faster than before. +- The memory consumption is reduced. +- Support for multiple BTF_DECL_TAGs pointing to same tag. +- Verify that pfunct prints btf_decl_tags read from BTF. +- Don't print functions twice when using 'pfunct -f function_name'. +- New release: 1.28 +- Various improvements to reduce the memory footprint of pahole, notably when doing BTF encoding. +- Show flexible arrays statistics +- Add '--padding N' and '--padding_ge N' to show structs with paddings +- Introduce --running_kernel_vmlinux to find a vmlinux that matches the build-id of the running kernel. +- Don't stop pfunct output at the first function that matches a filter, show all of them +- Allow encoding data about all global variables, not just per CPU ones +- Handle .BTF_ids section endianness, fully supporting cross builds +- Generate decl tags for bpf_fastcall for eligible kfuncs +- Add "distilled_base" BTF feature to split BTF generation. +- Use the ELF_C_READ_MMAP mode with libelf, reducing peak memory utilization +- Allow overriding /sys/kernel/btf/vmlinux via the PAHOLE_VMLINUX_BTF_FILENAME env var +- Allow setting the list of compile units via PAHOLE_LANG_EXCLUDE env var +- Serialize access to elfutils dwarf_getlocation(). +- Honour --lang_exclude when merging LTO built CUs. +- Add the debuginfod client cache directory to the vmlinux search path. +- Print the CU's language when a tag isn't supported. +- Initial support for GNU_formal_parameter_pack, GNU_template_parameter_pack, template_value_param and template_type_param DWARF tags. +- Improve the parameter parsing by checking DW_OP_[GNU_]entry_value +- Introduce a tests/ directory with regression tests + +* Mon Aug 12 2024 Davide Cavalca - 1.27-2 +- Backport upstream bugfixes for clang builds + Resolves: RHEL-54022 + +* Thu Jun 20 2024 Viktor Malik - 1.27-1 +- Resolves: RHEL-30780 +- New release: v1.26 +- When expanding types using 'pahole -E' do it for union and struct typedefs and for enums too. +- Print number of holes, bit holes and bit paddings in class member types. +- Introduce --contains_enumerator=ENUMERATOR_NAME: +- Fix pretty printing using DWARF, waiting for a CU with both class (-C) and a specified "type_enum". +- Add support for DW_TAG_constant in the DWARF loader, first seen in Go DWARF. +- Fix loading DW_TAG_subroutine_type generated by the Go compiler. +- Fix loading of 32-bit signed enums from BTF. +- Add 'pahole --btf_features' to allow consumers to specify an opt-in set of features they want to use in BTF encoding. +- Parallelize loading BTF and DWARF, speeding up a bit btfdiff. +- Do type expansion to cover "private" types and enumerations in btfdiff. +- New release: v1.27 +- Reproducible parallel builds: multiple runs with different number of loading/encoding threads produce the same result. +- Inject kfunc decl tags into BTF from the BTF IDs ELF section in the Linux kernel vmlinux file. +- Sanitize unsupported DWARF int type with greater-than-16 byte, as BTF doesn't support it. +- Initial support for BTF_KIND_DECL_TAG in the BTF loader, adding support in pfunct output. +- Fix hole discovery with inheritance in C++. + * Wed Jun 14 2023 Viktor Malik - 1.25-1 - Resolves: rhbz#2190484 - Build with system libbpf