Go to file
Arnaldo Carvalho de Melo 45255ec6b6 pahole: Add --format_path/-F to specify a list of formats to try
For a file with just DWARF info:

$ pahole -F ctf build/pahole
$

But if we ask that it also try dwarf:

$ pahole -F ctf,dwarf build/pahole | head -2
struct _IO_FILE {
	int          _flags;    /*     0     4 */
$

Useful when testing the new CTF support in these tools, as we'll be able to,
from the DWARF info in objects, generate the CTF equivalent and add to the same
object, then run pahole -A -F ctf, pahole -A -F dwarf and compare the outputs.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-03-19 12:19:37 -03:00
cmake/modules cmake: check if in RHEL and ask for the same packages as in fedora if so 2008-11-20 13:55:05 -02:00
lib [LICENSE]: Add COPYING file and add missing license info on some files 2007-12-17 14:15:42 -02:00
man-pages pahole: Add --format_path/-F to specify a list of formats to try 2009-03-19 12:19:37 -03:00
ostra [OSTRA]: Change ostra-cg license to GPLv2 2007-12-24 12:25:17 -02:00
rpm/SPECS rpm: Own %{_datadir}/dwarves/ 2009-02-16 11:04:49 -03:00
CMakeLists.txt ctf: Include the initial implementation of a ctf encoder 2009-03-19 12:16:07 -03:00
COPYING [LICENSE]: Add COPYING file and add missing license info on some files 2007-12-17 14:15:42 -02:00
MANIFEST pahole: finally the beginnings of a man page 2009-02-11 12:19:46 -02:00
NEWS [NEWS]: Update entry about the --separator new option 2007-05-23 16:27:33 -03:00
README [CMAKE]: Make the default install prefix be /usr/local 2007-04-19 18:01:47 -03:00
README.ctracer ctracer: update README.ctracer, f9 has the dwarves 2008-10-29 08:54:53 -02:00
codiff.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
config.h.cmake [DWARVES] Fixes a FIXME relating to a missing elf (libdw) symbol check. 2008-02-12 21:08:49 -02:00
ctf.h libctf: Use the same coding style as the dwarves 2008-09-25 16:01:26 -03:00
ctf_encoder.c ctf: Include the initial implementation of a ctf encoder 2009-03-19 12:16:07 -03:00
ctf_encoder.h ctf: Include the initial implementation of a ctf encoder 2009-03-19 12:16:07 -03:00
ctf_loader.c ctf: Include the initial implementation of a ctf encoder 2009-03-19 12:16:07 -03:00
ctf_loader.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
ctracer.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
dtagnames.c coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
dutil.c dutil: Move zalloc to dutil 2009-03-18 11:08:23 -03:00
dutil.h dutil: Move zalloc to dutil 2009-03-18 11:08:23 -03:00
dwarf_loader.c ctf: Include the initial implementation of a ctf encoder 2009-03-19 12:16:07 -03:00
dwarf_loader.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
dwarves.c pahole: Add --format_path/-F to specify a list of formats to try 2009-03-19 12:19:37 -03:00
dwarves.h pahole: Add --format_path/-F to specify a list of formats to try 2009-03-19 12:19:37 -03:00
dwarves_emit.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
dwarves_emit.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
dwarves_reorganize.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
dwarves_reorganize.h class_member: cache the byte size of the member 2009-03-17 14:31:18 -03:00
gobuffer.c gobuffer: Introduce gobuffer__allocate 2009-03-18 22:14:55 -03:00
gobuffer.h gobuffer: Introduce gobuffer__allocate 2009-03-18 22:14:55 -03:00
hash.h [DWARVES]: Use a hash table for the tags in a CU 2008-02-11 11:47:17 -02:00
libctf.c ctf: Include the initial implementation of a ctf encoder 2009-03-19 12:16:07 -03:00
libctf.h ctf: Include the initial implementation of a ctf encoder 2009-03-19 12:16:07 -03:00
list.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
pahole.c pahole: Add --format_path/-F to specify a list of formats to try 2009-03-19 12:19:37 -03:00
pdwtags.c pdwtags: cu->types_tables can have some NULL slots 2009-03-16 15:55:48 -03:00
pfunct.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
pglobal.c dwarves: the variable abstract_origin is resolved at load time too 2009-03-14 15:19:33 -03:00
prefcnt.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00
strings.c coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
strings.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
syscse.c cu: Rename cu__find_{type,tag}_by_id to cu__{type,tag} 2009-03-18 12:17:07 -03:00

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