This is the mail archive of the binutils@sourceware.org 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: gprof does not display memset - callgrind does



On Nov 29, 2007, at 11:00 AM, Andreas Schwab wrote:


Chris Stankevitz <cstankevitz@toyon.com> writes:

Why are calls to memset not appearing in my gprof output?

Because gprof depends on the function being instrumented. Only functions compiled with -pg can appear in the call graph.

Isn't libc_p compiled with -pg ? The full link command (gcc -v) may help.

(Slightly off-topic anyway).
Tristan.


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