Go to file
Arnaldo Carvalho de Melo 495c70ae14 ctf_encoder: Add void entries for variables not found on DWARF
Temporary hack till I figure out how to do more filtering on the variables on
the symtab that aren't in the DWARF info.

Problem is that if we don't put something on the table at encode time, we won't
find it at decode time, when we don't have DWARF to notice that its not there
because its not in DWARF.

We then discard it at load time, as "void foo;" doesn't make sense.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-04-02 12:41:01 -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: Remove a not needed "the" article in the man page. 2009-03-23 16:53:54 -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 elf_symtab: Introduce elf_symtab 2009-03-24 16:58:44 -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 codiff: Support -F/--format_path 2009-04-01 14:02:21 -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_encoder: Add void entries for variables not found on DWARF 2009-04-02 12:41:01 -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_encoder: Add void entries for variables not found on DWARF 2009-04-02 12:41:01 -03:00
ctf_loader.h core: Rename {cus,dwarf,ctf}__load to {cus,dwarf,ctf}__load_file 2009-03-24 16:48:41 -03:00
ctfdwdiff ctfdwdiff: Don't ask for variables and inline expansions in pfunct 2009-03-31 19:21:46 -03:00
ctracer.c core: Rename {cus,dwarf,ctf}__load to {cus,dwarf,ctf}__load_file 2009-03-24 16:48:41 -03:00
dtagnames.c dtagnames: Stop using cu__for_each_tag 2009-04-01 11:01:16 -03:00
dutil.c dutil: Move elf_section_by_name to dutil 2009-03-24 16:56:19 -03:00
dutil.h dutil: Move elf_section_by_name to dutil 2009-03-24 16:56:19 -03:00
dwarf_loader.c core: Rename cu_orig_info to debug_fmt_ops 2009-04-02 11:12:02 -03:00
dwarf_loader.h core: Rename {cus,dwarf,ctf}__load to {cus,dwarf,ctf}__load_file 2009-03-24 16:48:41 -03:00
dwarves.c core: Add variable__name to struct debug_fmt_ops 2009-04-02 12:40:33 -03:00
dwarves.h core: Add variable__name to struct debug_fmt_ops 2009-04-02 12:40:33 -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
elf_symtab.c elf_symtab: Fix bogus elf_symtab__is_local_function 2009-03-28 19:27:00 -03:00
elf_symtab.h libctf: Ignore hidden symbols 2009-04-01 14:03:04 -03:00
gobuffer.c gobuffer: Introduce gobuffer__copy 2009-03-31 15:54:53 -03:00
gobuffer.h gobuffer: Introduce gobuffer__copy 2009-03-31 15:54:53 -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 libctf: Ignore hidden symbols 2009-04-01 14:03:04 -03:00
libctf.h ctf_encoder: Create objects section (data/variables) 2009-03-31 16:12:00 -03:00
list.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
pahole.c pahole: Stop using cu__for_each_tag 2009-04-01 10:58:25 -03:00
pdwtags.c pdwtags: Allow specifying the debug format to be decoded 2009-04-02 12:38:41 -03:00
pfunct.c pfunct: Stop using cu__for_each_tag 2009-04-01 11:55:49 -03:00
pglobal.c core: Add variable__name to struct debug_fmt_ops 2009-04-02 12:40:33 -03:00
prefcnt.c prefcnt: Stop using cu__for_each_tag 2009-04-01 11:43:58 -03:00
strings.c strings: Allow calling strings__delete with a NULL pointer 2009-03-20 10:35:57 -03:00
strings.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
syscse.c syscse: Stop using cu__for_each_tag 2009-04-01 11:11:20 -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