This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ELF, call tree


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
        


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]