2007-01-11 19:50:26 +01:00
|
|
|
%define libname libdwarves
|
|
|
|
%define libver 1
|
|
|
|
|
|
|
|
Name: dwarves
|
|
|
|
Version: 0
|
[CTRACER]: Lots of improvements
1. We now use relayfs
2. ostra-cg is shipped and used in the Makefile
3. README.ctracer has all the details
I followed README.ctracer and the result, in my workstation, was this one:
http://oops.ghostprotocols.net:81/acme/dwarves/callgraphs/acme_eating_his_dog_food/6.html
I've started on the 6th page as it is more interesting, having tcp and netlink
callchains, don't be disappointed by some pages having just one level of
nesting, that is just the lack of containers and aliases (to follow tcp_sock,
skb->sk, etc) from the OSTRA days, but it's getting there! :-)
Ah, it is collecting all the base types in the specified struct by doing a
struct "view", i.e. trimming the struct to have just members that are
"reducible" to basic types (int, long, char, signed and unsigned), then
reorganizing it with the code introduced in pahole --reorganize to get it to
the best layout possible, reducing the size of the entry probe points trace
entries.
Updated rpms are available at the usual place:
http://oops.ghostprotocols.net:81/acme/dwarves/rpm/
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2007-02-02 18:15:27 +01:00
|
|
|
Release: 14
|
2007-01-11 19:50:26 +01:00
|
|
|
License: GPL
|
|
|
|
Summary: Dwarf Tools
|
|
|
|
Group: Base
|
|
|
|
URL: http://oops.ghostprotocols.net:81/blog
|
|
|
|
Source: pahole-%{version}.tar.bz2
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: binutils
|
2007-01-18 20:28:35 +01:00
|
|
|
BuildRequires: elfutils-devel
|
2007-01-11 19:50:26 +01:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: make
|
2007-01-30 22:07:28 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-acme
|
2007-01-11 19:50:26 +01:00
|
|
|
|
|
|
|
%description
|
2007-01-12 14:04:54 +01:00
|
|
|
dwarves is a set of tools that use the DWARF debugging information inserted in
|
|
|
|
ELF binaries by compilers such as GCC , used by well known debuggers such as
|
|
|
|
GDB, and more recent ones such as systemtap.
|
|
|
|
|
|
|
|
Utilities in the dwarves suite include pahole, that can be used to find
|
|
|
|
alignment holes in structs and classes in languages such as C, C++, but not
|
|
|
|
limited to these, and other information such as CPU cacheline alignment,
|
|
|
|
helping pack those structures to achieve more cache hits, codiff, a diff like
|
|
|
|
tool to compare the effects changes in source code generate on the resulting
|
|
|
|
binaries, pfunct, that can be used to find all sorts of information about
|
|
|
|
functions, inlines, decisions made by the compiler about inlining, etc.
|
2007-01-11 19:50:26 +01:00
|
|
|
|
|
|
|
%package -n %{libname}%{libver}
|
|
|
|
Summary: DWARF processing library
|
|
|
|
Group: Libraries
|
|
|
|
|
|
|
|
%description -n %{libname}%{libver}
|
|
|
|
DWARF processing library
|
|
|
|
|
|
|
|
%package -n %{libname}-devel
|
|
|
|
Summary: DWARF processing library development files
|
|
|
|
Group: Development
|
|
|
|
|
|
|
|
%description -n %{libname}-devel
|
|
|
|
DWARF processing library development files
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
2007-01-30 22:07:28 +01:00
|
|
|
cmake -D __LIB=%{_lib} .
|
2007-01-11 19:50:26 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -Rf %{buildroot}
|
2007-01-27 22:42:54 +01:00
|
|
|
mkdir -p %{buildroot}{%{_libdir},%{_bindir},%{_includedir},%{_libdir}/ctracer}
|
2007-01-11 19:50:26 +01:00
|
|
|
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%doc README.ctracer
|
|
|
|
%defattr(0755,root,root,0755)
|
|
|
|
%{_bindir}/codiff
|
|
|
|
%{_bindir}/ctracer
|
|
|
|
%{_bindir}/dtagnames
|
|
|
|
%{_bindir}/pahole
|
2007-01-19 00:15:54 +01:00
|
|
|
%{_bindir}/pdwtags
|
2007-01-11 19:50:26 +01:00
|
|
|
%{_bindir}/pfunct
|
2007-02-02 15:30:56 +01:00
|
|
|
%{_bindir}/pglobal
|
2007-01-11 19:50:26 +01:00
|
|
|
%{_bindir}/prefcnt
|
[CTRACER]: Lots of improvements
1. We now use relayfs
2. ostra-cg is shipped and used in the Makefile
3. README.ctracer has all the details
I followed README.ctracer and the result, in my workstation, was this one:
http://oops.ghostprotocols.net:81/acme/dwarves/callgraphs/acme_eating_his_dog_food/6.html
I've started on the 6th page as it is more interesting, having tcp and netlink
callchains, don't be disappointed by some pages having just one level of
nesting, that is just the lack of containers and aliases (to follow tcp_sock,
skb->sk, etc) from the OSTRA days, but it's getting there! :-)
Ah, it is collecting all the base types in the specified struct by doing a
struct "view", i.e. trimming the struct to have just members that are
"reducible" to basic types (int, long, char, signed and unsigned), then
reorganizing it with the code introduced in pahole --reorganize to get it to
the best layout possible, reducing the size of the entry probe points trace
entries.
Updated rpms are available at the usual place:
http://oops.ghostprotocols.net:81/acme/dwarves/rpm/
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2007-02-02 18:15:27 +01:00
|
|
|
%{_bindir}/ostra-cg
|
2007-01-27 22:42:54 +01:00
|
|
|
%dir %{_libdir}/ctracer
|
|
|
|
%{_libdir}/ctracer/Makefile
|
|
|
|
%{_libdir}/ctracer/ctracer_jprobe.c
|
[CTRACER]: Lots of improvements
1. We now use relayfs
2. ostra-cg is shipped and used in the Makefile
3. README.ctracer has all the details
I followed README.ctracer and the result, in my workstation, was this one:
http://oops.ghostprotocols.net:81/acme/dwarves/callgraphs/acme_eating_his_dog_food/6.html
I've started on the 6th page as it is more interesting, having tcp and netlink
callchains, don't be disappointed by some pages having just one level of
nesting, that is just the lack of containers and aliases (to follow tcp_sock,
skb->sk, etc) from the OSTRA days, but it's getting there! :-)
Ah, it is collecting all the base types in the specified struct by doing a
struct "view", i.e. trimming the struct to have just members that are
"reducible" to basic types (int, long, char, signed and unsigned), then
reorganizing it with the code introduced in pahole --reorganize to get it to
the best layout possible, reducing the size of the entry probe points trace
entries.
Updated rpms are available at the usual place:
http://oops.ghostprotocols.net:81/acme/dwarves/rpm/
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2007-02-02 18:15:27 +01:00
|
|
|
%{_libdir}/ctracer/ctracer_relay.c
|
|
|
|
%{_libdir}/ctracer/ctracer_relay.h
|
|
|
|
%dir %{_libdir}/ctracer/python
|
|
|
|
%{_libdir}/ctracer/python/ostra.py*
|
2007-01-11 19:50:26 +01:00
|
|
|
|
|
|
|
%files -n %{libname}%{libver}
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%{_libdir}/%{libname}.so.*
|
|
|
|
|
|
|
|
%files -n %{libname}-devel
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%{_includedir}/dwarves.h
|
|
|
|
%{_libdir}/%{libname}.so
|
|
|
|
|
|
|
|
%changelog
|
2007-02-02 15:30:56 +01:00
|
|
|
* Fri Feb 2 2007 Arnaldo Carvalho de Melo <acme@redhat.com>
|
[CTRACER]: Lots of improvements
1. We now use relayfs
2. ostra-cg is shipped and used in the Makefile
3. README.ctracer has all the details
I followed README.ctracer and the result, in my workstation, was this one:
http://oops.ghostprotocols.net:81/acme/dwarves/callgraphs/acme_eating_his_dog_food/6.html
I've started on the 6th page as it is more interesting, having tcp and netlink
callchains, don't be disappointed by some pages having just one level of
nesting, that is just the lack of containers and aliases (to follow tcp_sock,
skb->sk, etc) from the OSTRA days, but it's getting there! :-)
Ah, it is collecting all the base types in the specified struct by doing a
struct "view", i.e. trimming the struct to have just members that are
"reducible" to basic types (int, long, char, signed and unsigned), then
reorganizing it with the code introduced in pahole --reorganize to get it to
the best layout possible, reducing the size of the entry probe points trace
entries.
Updated rpms are available at the usual place:
http://oops.ghostprotocols.net:81/acme/dwarves/rpm/
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2007-02-02 18:15:27 +01:00
|
|
|
- d37f41df58c375412badf827e24dfc346cea2ff2
|
|
|
|
- ostra-cg
|
|
|
|
- relay/debugfs
|
|
|
|
- mini-structs
|
|
|
|
- ctracer2ostra
|
|
|
|
- All this in the Makefile
|
|
|
|
|
|
|
|
* Fri Feb 2 2007 Arnaldo Carvalho de Melo <acme@redhat.com>
|
|
|
|
- b7cad1782d683571ffb2601b429ab151bddad5d7
|
2007-02-02 15:30:56 +01:00
|
|
|
- pglobal, by Davi Arnaut
|
|
|
|
- pahole --show_reorg_steps
|
|
|
|
- Reorganize bitfields in pahole --reorganize
|
|
|
|
|
2007-01-30 22:07:28 +01:00
|
|
|
* Tue Jan 30 2007 Arnaldo Carvalho de Melo <acme@redhat.com>
|
|
|
|
- 8e236f4ca37b8a3d2057f4ede5a14ab1fa99f73c
|
|
|
|
- x86-64 lib install fixes
|
|
|
|
|
2007-01-30 19:55:19 +01:00
|
|
|
* Tue Jan 30 2007 Arnaldo Carvalho de Melo <acme@redhat.com>
|
|
|
|
- 4a4b75e75a6d7f34215d320cc4a9f669b6ba4075
|
|
|
|
- pahole --reorganize
|
|
|
|
|
2007-01-30 16:32:55 +01:00
|
|
|
* Mon Jan 29 2007 Arnaldo Carvalho de Melo <acme@redhat.com>
|
|
|
|
- 2de67fcaf401ac1e20feca5fa88dfc63fbc4203e
|
|
|
|
- Type expansion!
|
|
|
|
|
2007-01-27 22:42:54 +01:00
|
|
|
* Sat Jan 27 2007 Arnaldo Carvalho de Melo <acme@redhat.com>
|
|
|
|
- 6bf2d2d7707b65e7ca21a13706d8d07824cd6f2f
|
|
|
|
- ctracer improvements, /usr/lib/ctracer/, etc
|
|
|
|
|
2007-01-27 11:57:52 +01:00
|
|
|
* Fri Jan 26 2007 Arnaldo Carvalho de Melo <acme@redhat.com>
|
|
|
|
- c49f2c963425d5c09c429370e10d9af3d7d7fe32
|
|
|
|
- Emit typedefs of typedef arrays
|
|
|
|
- Detect typedef loops
|
|
|
|
- Fix emission of arrays of structs, unions, etc
|
|
|
|
- use sysconf for the default cacheline size
|
|
|
|
|
2007-01-19 00:15:54 +01:00
|
|
|
* Wed Jan 18 2007 Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
|
|
|
|
- fab0db03ea9046893ca110bb2b7d71b764f61033
|
|
|
|
- pdwtags added
|
|
|
|
|
2007-01-18 20:28:35 +01:00
|
|
|
* Wed Jan 17 2007 Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
|
|
|
|
- e3786105c007a39ff3dbfb36a3037e786021e0c6
|
|
|
|
- First Fedora native build
|
|
|
|
- struct, enum, enum, void typedefs
|
|
|
|
|
2007-01-15 13:34:13 +01:00
|
|
|
* Sat Jan 13 2007 Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
|
|
|
|
- 9a413e60a3875980d99817722bf019cba3a24573
|
|
|
|
- pahole --nr_methods, improvements in tag__print, better support for unions
|
|
|
|
|
2007-01-12 14:42:57 +01:00
|
|
|
* Fri Jan 12 2007 Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
|
|
|
|
- a1f5422656a91568a8b4edbcebaae9c1837b5cbd
|
|
|
|
- Support a DW_TAG_reference_type
|
|
|
|
|
2007-01-12 14:04:54 +01:00
|
|
|
* Fri Jan 12 2007 Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
|
|
|
|
- 0ad467a32187e1929c14054a0fc7326bc4d235c8
|
|
|
|
- Added a description
|
|
|
|
|
|
|
|
* Thu Jan 11 2007 Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
|
|
|
|
- new release with type not found asserts replaced by error messages
|
|
|
|
|
|
|
|
* Thu Jan 11 2007 Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
|
2007-01-11 19:50:26 +01:00
|
|
|
- package created
|