import dwarves-1.19-1.el8
This commit is contained in:
parent
c15ad2ba7b
commit
7ca6b37f5b
@ -1 +1 @@
|
|||||||
66b7c00296027a8a5858ef32427919c3a84cf5ef SOURCES/dwarves-1.17.tar.xz
|
e3c5737ab29d8ec8db5095d719baa96217bac60d SOURCES/dwarves-1.19.tar.xz
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/dwarves-1.17.tar.xz
|
SOURCES/dwarves-1.19.tar.xz
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
%define libver 1
|
%define libver 1
|
||||||
|
|
||||||
Name: dwarves
|
Name: dwarves
|
||||||
Version: 1.17
|
Version: 1.19
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Summary: Debugging Information Manipulation Tools (pahole & friends)
|
Summary: Debugging Information Manipulation Tools (pahole & friends)
|
||||||
@ -35,6 +35,21 @@ code generate on the resulting binaries.
|
|||||||
Another tool is pfunct, that can be used to find all sorts of information about
|
Another tool is pfunct, that can be used to find all sorts of information about
|
||||||
functions, inlines, decisions made by the compiler about inlining, etc.
|
functions, inlines, decisions made by the compiler about inlining, etc.
|
||||||
|
|
||||||
|
One example of pfunct usage is in the fullcircle tool, a shell that drivers
|
||||||
|
pfunct to generate compileable code out of a .o file and then build it using
|
||||||
|
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.
|
||||||
|
|
||||||
%package -n %{libname}%{libver}
|
%package -n %{libname}%{libver}
|
||||||
Summary: Debugging information processing library
|
Summary: Debugging information processing library
|
||||||
|
|
||||||
@ -49,10 +64,10 @@ Requires: %{libname}%{libver} = %{version}-%{release}
|
|||||||
Debugging information processing library development files.
|
Debugging information processing library development files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake .
|
%cmake -DCMAKE_BUILD_TYPE=Release .
|
||||||
make VERBOSE=1 %{?_smp_mflags}
|
make VERBOSE=1 %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -64,6 +79,7 @@ make install DESTDIR=%{buildroot}
|
|||||||
%files
|
%files
|
||||||
%doc README.ctracer
|
%doc README.ctracer
|
||||||
%doc README.btf
|
%doc README.btf
|
||||||
|
%doc changes-v1.19
|
||||||
%doc NEWS
|
%doc NEWS
|
||||||
%{_bindir}/btfdiff
|
%{_bindir}/btfdiff
|
||||||
%{_bindir}/codiff
|
%{_bindir}/codiff
|
||||||
@ -112,7 +128,7 @@ make install DESTDIR=%{buildroot}
|
|||||||
%{_includedir}/dwarves/libctf.h
|
%{_includedir}/dwarves/libctf.h
|
||||||
%{_includedir}/dwarves/list.h
|
%{_includedir}/dwarves/list.h
|
||||||
%{_includedir}/dwarves/rbtree.h
|
%{_includedir}/dwarves/rbtree.h
|
||||||
%{_includedir}/dwarves/strings.h
|
%{_includedir}/dwarves/pahole_strings.h
|
||||||
%{_libdir}/%{libname}.so
|
%{_libdir}/%{libname}.so
|
||||||
%{_libdir}/%{libname}_emit.so
|
%{_libdir}/%{libname}_emit.so
|
||||||
%{_libdir}/%{libname}_reorganize.so
|
%{_libdir}/%{libname}_reorganize.so
|
||||||
|
Loading…
Reference in New Issue
Block a user