On Tue, May 12, 2009 at 1:14 PM, Andi Kleen <andi@firstfloor.org> wrote:
"Eric Klingelberger" <klingelb@us.ibm.com> writes:

> When running opreport with the -c option some symbols that I would expect to
> see callers for do not appear in the call graph report.

Most likely these functions do not have frame pointers. oprofile
callgraph support does rely on frame pointers, but most binaries
and libraries on x86-64 do not use them.

The real fix would be to teach oprofile to use the dwarf2 unwind
information that is in most x86-64 binaries, but that code is
not there.

-Andi

Dwarf2 support in oprofile would be very desirable. Mono, for example, generates frameless
code on amd64 and can produce dwarf2 stack and debug information.

Rodrigo