ELF, call tree

Nick Clifton nickc@redhat.com
Thu Oct 30 17:54:00 GMT 2003


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
        



More information about the Binutils mailing list