286c7740fd
So that we can, for instance, go from: [acme@doppio pahole]$ time pahole -C sk_buff /usr/lib/debug/lib/modules/2.6.27.19-170.2.35.fc10.x86_64/vmlinux | head -3 struct sk_buff { struct sk_buff * next; /* 0 8 */ struct sk_buff * prev; /* 8 8 */ real 0m11.071s user 0m10.627s sys 0m0.359s [acme@doppio pahole]$ To a mere: [acme@doppio pahole]$ time pahole -C sk_buff /usr/lib/debug/lib/modules/2.6.27.19-170.2.35.fc10.x86_64/vmlinux | head -3 struct sk_buff { struct sk_buff * next; /* 0 8 */ struct sk_buff * prev; /* 8 8 */ real 0m1.464s user 0m1.431s sys 0m0.016s [acme@doppio pahole]$ And also results go appearing much quicker for other options, etc. The other tools will be converted too, but the old way of working will always be there, as it is possible that we may need all the types in memory for some future tool. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
---|---|---|
cmake/modules | ||
lib | ||
man-pages | ||
ostra | ||
rpm/SPECS | ||
CMakeLists.txt | ||
COPYING | ||
MANIFEST | ||
NEWS | ||
README | ||
README.ctracer | ||
codiff.c | ||
config.h.cmake | ||
ctf.h | ||
ctf_loader.c | ||
ctf_loader.h | ||
ctracer.c | ||
dtagnames.c | ||
dutil.c | ||
dutil.h | ||
dwarf_loader.c | ||
dwarf_loader.h | ||
dwarves.c | ||
dwarves.h | ||
dwarves_emit.c | ||
dwarves_emit.h | ||
dwarves_reorganize.c | ||
dwarves_reorganize.h | ||
gobuffer.c | ||
gobuffer.h | ||
hash.h | ||
libctf.c | ||
libctf.h | ||
list.h | ||
pahole.c | ||
pdwtags.c | ||
pfunct.c | ||
pglobal.c | ||
prefcnt.c | ||
strings.c | ||
strings.h | ||
syscse.c |
README
Build instructions: 1. install cmake 2. mkdir build 3. cd build 4. cmake -D__LIB=lib .. 5. make install Default is to be installed on /usr/local, see rpm spec file for installing on other places. Known to work scenarios: Mandriva Cooker: cmake 2.4.5-1mdv2007.1 libelfutils1-devel 0.123-1mdv2007.1 Debian Unstable: cmake 2.4.5-1 libdw-dev 0.123-2 Fedora Core 6: cmake 2.4.5-2.fc6 elfutils-devel 0.126-1.fc6