This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ELF, call tree
- From: Nick Clifton <nickc at redhat dot com>
- To: Torsten Mohr <tmohr at s dot netic dot de>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 30 Oct 2003 17:45:25 +0000
- Subject: Re: ELF, call tree
- References: <200310301802.50705.tmohr@s.netic.de>
Hi Torsten,
> is there a way to extract a "call tree" from an ELF file?
Only by running the program through a simulator and collecting the
information that way. Or else, if you have access to the sources, you
can compile with -pg or -fprofile-arcs and the use a profiler to
extract the information.
> Is this information somehow in the relocation information?
No. The relocs have (almost) nothing to do with call trees.
Cheers
Nick