From: Daniel Jacobowitz <dan@debian.org>
To: James E Wilson <wilson@specifix.com>
Cc: dhunjukrishna@gmail.com, Linux-MIPS <linux-mips@linux-mips.org>
Subject: Re: problem with mips-linux gprof
Date: Fri, 28 Apr 2006 16:15:30 -0400 [thread overview]
Message-ID: <20060428201530.GA4883@nevyn.them.org> (raw)
In-Reply-To: <1146253927.15759.16.camel@aretha.corp.specifix.com>
On Fri, Apr 28, 2006 at 12:52:07PM -0700, James E Wilson wrote:
> The above assumes you don't have a profiled C library available. If you
> did, then you would have at least two profiled functions, main and
> printf, and would have gotten some call graph info emitted. If you
> don't have a profiled C library available, you could try compiling one
> yourself. There is a glibc configure option --enable-profile for that.
> I've never tried this myself. I'd expect this to be a non-trivial
> exercise. Besides the issue of compiling glibc, you also need to
> install the profiled library, and arrange to link with it.
Many prebuilt distributions already ship it; FWIW, if you link with
"-profile" instead of "-pg", GCC will automatically attempt to use
-lc_p.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2006-04-28 20:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-28 6:37 problem with mips-linux gprof Krishna
2006-04-28 19:52 ` James E Wilson
2006-04-28 20:15 ` Daniel Jacobowitz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060428201530.GA4883@nevyn.them.org \
--to=dan@debian.org \
--cc=dhunjukrishna@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=wilson@specifix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox