From 7c36eccd1df2e72e92f209f92f63347150ecf9ad Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Nov 24 2020 18:08:00 +0000 Subject: New release: 1.19 Split BTF DWARF workarounds for DW_AT_declaration Support cross-compiled ELF binaries with different endianness Support showing typedefs for anonymous types Speedups using libbpf algorithms See changes-v1.19 for a complete and more detailed list of changes --- diff --git a/.gitignore b/.gitignore index 930c1bc..0fde5f1 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /0001-dwarves-Add-D_LARGEFILE64_SOURCE-D_FILE_OFFSET_BITS-.patch /dwarves.spec /dwarves-1.17.tar.xz +/dwarves-1.19.tar.xz diff --git a/dwarves.spec b/dwarves.spec index a2ffd0f..9232002 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -2,7 +2,7 @@ %define libver 1 Name: dwarves -Version: 1.17 +Version: 1.19 Release: 1%{?dist} License: GPLv2 Summary: Debugging Information Manipulation Tools (pahole & friends) @@ -41,6 +41,12 @@ gcc, with the same compiler flags, and then use codiff to make sure the original .o file and the new one generated from debug info produces the same debug info. +Pahole also can be used to use all this type information to pretty print raw data +according to command line directions. + +Headers can have its data format described from debugging info and offsets from +it can be used to further format a number of records. + The btfdiff utility compares the output of pahole from BTF and DWARF to make sure they produce the same results. @@ -61,19 +67,19 @@ Debugging information processing library development files. %setup -q %build -%cmake . -make VERBOSE=1 %{?_smp_mflags} +%cmake -DCMAKE_BUILD_TYPE=Release . +%cmake_build %install rm -Rf %{buildroot} -make install DESTDIR=%{buildroot} +%cmake_install %ldconfig_scriptlets -n %{libname}%{libver} %files %doc README.ctracer %doc README.btf -%doc changes-v1.17 +%doc changes-v1.19 %doc NEWS %{_bindir}/btfdiff %{_bindir}/codiff @@ -122,12 +128,39 @@ make install DESTDIR=%{buildroot} %{_includedir}/dwarves/libctf.h %{_includedir}/dwarves/list.h %{_includedir}/dwarves/rbtree.h -%{_includedir}/dwarves/strings.h +%{_includedir}/dwarves/pahole_strings.h %{_libdir}/%{libname}.so %{_libdir}/%{libname}_emit.so %{_libdir}/%{libname}_reorganize.so %changelog +* Fri Nov 20 2020 Arnaldo Carvalho de Melo - 1.19-1 +- New release: 1.19 +- Split BTF +- DWARF workarounds for DW_AT_declaration +- Support cross-compiled ELF binaries with different endianness +- Support showing typedefs for anonymous types +- Speedups using libbpf algorithms +- See changes-v1.19 for a complete and more detailed list of changes + +* Fri Oct 02 2020 Arnaldo Carvalho de Melo - 1.18-1 +- New release: 1.18 +- Use debugging info to pretty print raw data +- Store percpu variables in vmlinux BTF. +- Fixes to address segfaults on the gdb testsuite binaries +- Bail out on partial units for now, avoiding segfaults and providing warning to user. + +* Mon Aug 31 2020 - Zamir SUN - 1.17-4 +- Fix FTBFS +- Resolves: bug 1863459 + +* Sat Aug 01 2020 Fedora Release Engineering - 1.17-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 1.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Mar 13 2020 Arnaldo Carvalho de Melo - 1.17-1 - New release: 1.17 - Support raw BTF as available in /sys/kernel/btf/vmlinux. @@ -140,9 +173,24 @@ make install DESTDIR=%{buildroot} - Make --contains look for more than just unions, structs: - Consider unions when looking for classes containing some class: - Introduce --unions to consider just unions: +- Fix -m/--nr_methods - Number of functions operating on a type pointer -* Sat Feb 1 2020 Arnaldo Carvalho de Melo - 1.16-1 +* Wed Feb 12 2020 Arnaldo Carvalho de Melo - 1.16-1 - New release: 1.16 +- BTF encoder: Preserve and encode exported functions as BTF_KIND_FUNC. +- BTF loader: Add support for BTF_KIND_FUNC +- Pretty printer: Account inline type __aligned__ member types for spacing +- Pretty printer: Fix alignment of class members that are structs/enums/unions +- Pretty printer: Avoid infinite loop trying to determine type with static data member of its own type. +- RPM spec file: Add dwarves dependency on libdwarves1. +- pfunct: type->type == 0 is void, fix --compile for that +- pdwtags: Print DW_TAG_subroutine_type as well +- core: Fix ptr_table__add_with_id() handling of pt->nr_entries +- pglobal: Allow passing the format path specifier, to use with BTF +- Tree wide: Fixup issues pointed out by various coverity reports. + +* Tue Jan 28 2020 Fedora Release Engineering - 1.15-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 1.15-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild @@ -224,13 +272,13 @@ make install DESTDIR=%{buildroot} * Fri Jan 13 2012 Fedora Release Engineering - 1.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild -* Mon Feb 28 2011 * Arnaldo Carvalho de Melo - 1.9-1 +* Sat Nov 20 2010 Arnaldo Carvalho de Melo - 1.9-1 - New release * Tue Feb 08 2011 Fedora Release Engineering - 1.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild -* Fri Dec 4 2009 Apr 23 2009 Arnaldo Carvalho de Melo - 1.8-1 +* Fri Dec 4 2009 Arnaldo Carvalho de Melo - 1.8-1 - New release * Fri Feb 13 2009 Arnaldo Carvalho de Melo - 1.7-2 diff --git a/sources b/sources index feaa53e..ae53e7c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dwarves-1.17.tar.xz) = 8916ea24316efe1eb322d045fb2d81c230905f2fe33942eac641e9e0311f33a3bcf55be454eac32781799c255303bafacd8f1bd1b3ec08f0dae4d5f38d8186ba +SHA512 (dwarves-1.19.tar.xz) = b378a504da5b00c6280b9efda7348c2d61015ce6477f3e4e4466f58d9bf6837457cd0aa9263b7d921093cca5ee26c4fab9950f7f75ca05d27ae646b3bfe22f9a