This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: gprof does not display memset - callgrind does
- From: Andreas Schwab <schwab at suse dot de>
- To: Chris Stankevitz <cstankevitz at toyon dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 29 Nov 2007 11:00:57 +0100
- Subject: Re: gprof does not display memset - callgrind does
- References: <474E3DD6.1000003@toyon.com>
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.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."