diff --git a/dwarves.spec b/dwarves.spec index c138679..b0feebe 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -2,12 +2,13 @@ %define libver 1 Name: dwarves -Version: 1.12 -Release: 2%{?dist} +Version: 1.13 +Release: 1%{?dist} License: GPLv2 Summary: Debugging Information Manipulation Tools (pahole & friends) URL: http://acmel.wordpress.com -Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.bz2 +Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.xz +Patch: dwarves-1.13-spec-fixes.patch BuildRequires: gcc BuildRequires: cmake BuildRequires: zlib-devel @@ -25,8 +26,8 @@ limited to these. It also extracts other information such as CPU cacheline alignment, helping pack those structures to achieve more cache hits. -These tools can also be used to encode the BTF type information format used with -the Linux kernel bpf syscall, using 'pahole -J'. +These tools can also be used to encode and read the BTF type information format +used with the Linux kernel bpf syscall, using 'pahole -J' and 'pahole -F btf'. A diff like tool, codiff can be used to compare the effects changes in source code generate on the resulting binaries. @@ -49,6 +50,7 @@ Debugging information processing library development files. %prep %setup -q -c -n %{name}-%{version} +%patch -p1 %build %cmake . @@ -64,10 +66,11 @@ make install DESTDIR=%{buildroot} %doc README.ctracer %doc README.btf %doc NEWS -%defattr(0755,root,root,0755) +%{_bindir}/btfdiff %{_bindir}/codiff %{_bindir}/ctracer %{_bindir}/dtagnames +%{_bindir}/fullcircle %{_bindir}/pahole %{_bindir}/pdwtags %{_bindir}/pfunct @@ -94,11 +97,20 @@ make install DESTDIR=%{buildroot} %files -n %{libname}%{libver}-devel %doc MANIFEST README +%{_includedir}/dwarves/btf_encoder.h +%{_includedir}/dwarves/config.h +%{_includedir}/dwarves/ctf_encoder.h +%{_includedir}/dwarves/ctf.h +%{_includedir}/dwarves/dutil.h %{_includedir}/dwarves/dwarves.h %{_includedir}/dwarves/dwarves_emit.h %{_includedir}/dwarves/dwarves_reorganize.h -%{_includedir}/dwarves/dutil.h +%{_includedir}/dwarves/elfcreator.h +%{_includedir}/dwarves/elf_symtab.h %{_includedir}/dwarves/gobuffer.h +%{_includedir}/dwarves/hash.h +%{_includedir}/dwarves/libbtf.h +%{_includedir}/dwarves/libctf.h %{_includedir}/dwarves/list.h %{_includedir}/dwarves/rbtree.h %{_includedir}/dwarves/strings.h @@ -107,6 +119,16 @@ make install DESTDIR=%{buildroot} %{_libdir}/%{libname}_reorganize.so %changelog +* Tue Apr 23 2019 Arnaldo Carvalho de Melo - 1.13-1 +- New release: 1.13 +- Infer __packed__ attributes, i.e. __attribute__((__packed__)) +- Support DW_AT_alignment, i.e. __attribute__((__aligned__(N))) +- Decode BTF type format and pretty print it +- BTF encoding fixes +- Use libbpf's BTF deduplication +- Support unions as arguments to -C/--class +- New 'pfunct --compile' generates compilable output with type definitions + * Thu Jan 31 2019 Fedora Release Engineering - 1.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild