Go to file
Arnaldo Carvalho de Melo e429f8efbb dwarves: Add an rbtree for the functions in a cu
That is used by cus__find_function_by_addr & cu__func_function_by_addr.

First user is pfunct --addr, but this is really for pfunct --annotate, that
will process a perf.data file generated by 'perf report', load the debugging
info and regenerate the functions (pfunct -TVi like) that had hits, using
libdisasm to show the assembly code, etc.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2009-06-04 14:56:44 -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 dwarves: Add an rbtree for the functions in a cu 2009-06-04 14:56:44 -03:00
CMakeLists.txt dwarves: Add an rbtree for the functions in a cu 2009-06-04 14:56: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 dwarves: Add an rbtree for the functions in a cu 2009-06-04 14:56:44 -03: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 all: Fix possible uninitialized variable uses 2009-05-04 15:50:06 -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 core: Only DWARF uses the global strings table, so move it there 2009-04-02 18:46:54 -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 code: Combine the debugging_formats and debug_fmt_ops structs 2009-04-04 14:56:39 -03:00
ctfdwdiff ctfdwdiff: Don't ask for variables and inline expansions in pfunct 2009-03-31 19:21:46 -03:00
ctracer.c ctracer: blacklist functions in .init.text (__init marked) 2009-04-03 11:56:52 -03:00
dtagnames.c dtagnames: Stop using cu__for_each_tag 2009-04-01 11:01:16 -03:00
dutil.c dutil: Allow returning the section index in elf_section_by_name 2009-04-03 11:53:05 -03:00
dutil.h dutil: Allow returning the section index in elf_section_by_name 2009-04-03 11:53:05 -03:00
dwarf_loader.c dwarf_loader: Move the specification Dwarf_Off from the core 2009-06-03 15:33:57 -03:00
dwarves.c dwarves: Add an rbtree for the functions in a cu 2009-06-04 14:56:44 -03:00
dwarves.h dwarves: Add an rbtree for the functions in a cu 2009-06-04 14:56:44 -03:00
dwarves_emit.c core: Stop using strings__ptr(strings, i) directly 2009-04-02 17:54:43 -03:00
dwarves_emit.h core: Stop using strings__ptr(strings, i) directly 2009-04-02 17:54:43 -03:00
dwarves_fprintf.c fprintf: Print "interface" in class__fprintf for Java Interfaces 2009-04-25 01:54:21 -03:00
dwarves_reorganize.c all: Fix possible uninitialized variable uses 2009-05-04 15:50:06 -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 dutil: Allow returning the section index in elf_section_by_name 2009-04-03 11:53:05 -03:00
elf_symtab.h elf_symtab: Add elf_sym__section helper 2009-04-03 11:56:03 -03:00
gobuffer.c gobuffer: Fix buffer expansion algorithm 2009-04-25 12:13:14 -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 dutil: Allow returning the section index in elf_section_by_name 2009-04-03 11:53:05 -03:00
libctf.h ctf: Plug debug_fmt_ops->strings__ptr 2009-04-02 17:55:17 -03:00
list.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
pahole.c pahole: Don't add anonymous structs to the list of known structs 2009-05-08 01:05:31 -03:00
pdwtags.c core: Stop using strings__ptr(strings, i) directly 2009-04-02 17:54:43 -03:00
pfunct.c dwarves: Add an rbtree for the functions in a cu 2009-06-04 14:56:44 -03:00
pglobal.c all: Fix possible uninitialized variable uses 2009-05-04 15:50:06 -03:00
prefcnt.c prefcnt: Stop using cu__for_each_tag 2009-04-01 11:43:58 -03:00
rbtree.c dwarves: Add an rbtree for the functions in a cu 2009-06-04 14:56:44 -03:00
rbtree.h dwarves: Add an rbtree for the functions in a cu 2009-06-04 14:56:44 -03:00
strings.c strings: Fix stupid pointer deref 2009-05-04 15:40:44 -03:00
strings.h coding style: remove trailing whitespaces, etc 2009-03-14 13:50:36 -03:00
syscse.c core: Stop using strings__ptr(strings, i) directly 2009-04-02 17:54:43 -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