From: Stefan Schroepfer <scr@iis.fhg.de>
To: axp-list@redhat.com
Subject: Re: Profiling on Alpha (slightly off topic)
Date: Wed, 25 Nov 1998 10:08:15 +0100 [thread overview]
Message-ID: <365BC8FF.41C67EA6@iis.fhg.de> (raw)
In-Reply-To: 13915.48455.556719.679843@flow.geo.vu.nl
Jaap Schellekens wrote:
>
> Dear all,
>
> Back in the old days (on my 25Mhz486) I used the -gp option with gcc
> to get profiling info for gprof. For me this worked great. The newer
> version of gcc end egcs for the alpha do not support this. Yes i know
> you should use -fprofile-arcs -ftest-coverage and run gcov.
1. You must use static linkage (`-static') for profiling.
2. The profiling option is `-pg' (not `-gp').
3. For Redhat 4.x, you need two patches (profiling in 5.1 works
out of the box):
http://www.redhat.com/support/mailing-lists/archives/axp-list/1997-March/0463.html
http://www.redhat.com/support/mailing-lists/archives/axp-list/1997-March/0464.html
> However, this produces a lot of files but not very usefull information
> (for me at least). Does anyone out there knows if egcs can be build to
> support -gp? (other profiling suggestions are welcome as well)
scr
prev parent reply other threads:[~1998-11-25 9:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-25 8:29 Profiling on Alpha (slightly off topic) Jaap Schellekens
1998-11-25 8:52 ` Jochen Kuepper
1998-11-25 9:15 ` Jaap Schellekens
1998-11-25 9:08 ` Stefan Schroepfer [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox