* gprof for ALPHA
@ 1994-09-03 17:13 Buffat Marc
1994-09-03 18:07 ` David Mosberger-Tang
1994-09-08 21:24 ` Greg Lueck Development Environment
0 siblings, 2 replies; 4+ messages in thread
From: Buffat Marc @ 1994-09-03 17:13 UTC (permalink / raw)
are there a version of gprof for DEC ALPHA. I want to use it for the
profiling of C and C++ program. I dont like prof and I need the
call graph profil
Thanks in advance
Marc(
--
-----------------------------------------------------------------------------
Marc BUFFAT ++++++++++++++++++++++++
Lab. Mecanique des fluides LMFA | CNRS URA 263 |
ECL, 36 av. Guy de Collongue | ECL Lyon |
Ecully 69131, FRANCE | UCB Lyon I |
tel: (33) 72/18/61/61 ++++++++++++++++++++++++
fax: (33) 78/64/71/45
email: buffat@mecaflu.ec-lyon.fr
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gprof for ALPHA
1994-09-03 17:13 gprof for ALPHA Buffat Marc
@ 1994-09-03 18:07 ` David Mosberger-Tang
1994-09-06 23:43 ` Dirk Grunwald
1994-09-08 21:24 ` Greg Lueck Development Environment
1 sibling, 1 reply; 4+ messages in thread
From: David Mosberger-Tang @ 1994-09-03 18:07 UTC (permalink / raw)
>>>>> On 3 Sep 1994 17:13:55 GMT, buffat@europe.mecaflu.ec-lyon.fr (Buffat Marc) said:
Buffat> are there a version of gprof for DEC ALPHA. I want to use it
Buffat> for the profiling of C and C++ program. I dont like prof and
Buffat> I need the call graph profil
I have been working on this for some time. What I have is a version
of GNU gprof version that works on the Alpha, provided you use GCC
2.6.0 or newer (I don't know about G++, but if it doesn't work
already, it should be pretty easy to fix it). You also need new
versions of mcount/monitor etc., which I can provide (they were
derived from the NetBSD source). One caveat: Digitial does not
provide a profiled library (libc_p), so you won't be able to see calls
to library functions.
I'm still playing around with various gprof enhancements, so it's not
ready for public distribution, but if anybody is interested, I could
create a binutils-2.4 relative tar file that produces a gprof for the
Alphas.
--david
--
David Mosberger-Tang; Dept. of CS; The University of Arizona; Tucson, AZ 85721
davidm@cs.arizona.edu; http://www.cs.arizona.edu/xkernel/www/people/davidm.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gprof for ALPHA
1994-09-03 18:07 ` David Mosberger-Tang
@ 1994-09-06 23:43 ` Dirk Grunwald
0 siblings, 0 replies; 4+ messages in thread
From: Dirk Grunwald @ 1994-09-06 23:43 UTC (permalink / raw)
If you're installing OSF/1 V3, install the "ATOM" optional subset.
You can read more about ATOM in a recent PLDI paper.
I've been using ATOM for about a year. If lets you instrument programs
at a fairly detailed level. You don't need any special compile-time
options -- you essentially link your program with a different linker.
ATOM comes with many tools, including one that does 'gprof', others
that show where you're beating on the memory hierarchy (cache, etc)
and a tool that's akin to the Purify tool (catches malloc/free
problems).
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gprof for ALPHA
1994-09-03 17:13 gprof for ALPHA Buffat Marc
1994-09-03 18:07 ` David Mosberger-Tang
@ 1994-09-08 21:24 ` Greg Lueck Development Environment
1 sibling, 0 replies; 4+ messages in thread
From: Greg Lueck Development Environment @ 1994-09-08 21:24 UTC (permalink / raw)
In article <34aask$t85@cismsun.univ-lyon1.fr>, buffat@europe.mecaflu.ec-lyon.fr (Buffat Marc) writes:
|> are there a version of gprof for DEC ALPHA. I want to use it for the
|> profiling of C and C++ program. I dont like prof and I need the
|> call graph profil
|> Thanks in advance
Aside from the Atom version of gprof that Dirk Grunwald mentioned, there is
also a native version of gprof in OSF/1 V3.0. The native version works the
same as on other systems. Compile with -pg and then use the gprof utility.
The gprof(1) manpage has more details. Gprof is able to report time and
call graph information for library calls to libc.a and libm.a as long as you
link -non_shared (do not use shared libraries). Unfortunately, gprof is not
yet supported for C++, but support will be available in V1.3B of the C++
compiler which will ship at the end of this month. Gprof support is available
now in the C compiler.
--
-------------------------------------------------------------------------------
Greg Lueck Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------
--
-------------------------------------------------------------------------------
Greg Lueck Opinions expressed herein are my own.
lueck@zk3.dec.com
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1994-09-08 21:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-03 17:13 gprof for ALPHA Buffat Marc
1994-09-03 18:07 ` David Mosberger-Tang
1994-09-06 23:43 ` Dirk Grunwald
1994-09-08 21:24 ` Greg Lueck Development Environment
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox