Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Profiling under Linux Alpha ?
@ 1997-11-18 22:00 Miguel A Sepulveda
  0 siblings, 0 replies; 5+ messages in thread
From: Miguel A Sepulveda @ 1997-11-18 22:00 UTC (permalink / raw)


Hi Everyone,

I am trying to profile and program of mine under my Alpha platform
Kenerl 2.0.30.

I compiled the sources with -g2 -pg, then run the executable. After the
executable finishes it is suppose to generate a gmon.out, instead the
program crash and dump a core. The program is fine because without
the -pg option it works just fine.

Next I compile the sources with -g2 -p, to get a plain profile output.
In this casae it did work. It generated a gmon.out. However, gprof
does not understand the format of this gmon.out. I need a system utility
prof based ona kernel call, which as I undertand is not supported yet.

Has anyone any idea how to go profile a program on Alpha Linux???

By the way my sources are in C++ (I assumed that if C profiling is
supported so is C++, Am I wrong?)

Thanks,

----------------------------------------------------------------------
Miguel Angel Sepulveda

University of Pittsburgh
Space Research Coordination Center, Room 207
Pittsburgh  PA 15260 (USA)

email:   sepulved+@pitt.edu                  phone: (412)6241184
www  :   http://www.pitt.edu/~sepulved
ftp  :   soon to come.....
----------------------------------------------------------------------

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <Pine.GSO.3.96L.971118165438.12429A-100000@unixs1.cis.pitt.edu>]
[parent not found: <Pine.LNX.3.96.971118235506.31837C-100000@hvdkooij.caiw.nl>]
* Re: Profiling under Linux Alpha ?
@ 1997-11-19  9:16 Stefan Schroepfer
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Schroepfer @ 1997-11-19  9:16 UTC (permalink / raw)


Miguel A Sepulveda wrote:
> 
> Hi Everyone,
> 
> [...]
> 
> Has anyone any idea how to go profile a program on Alpha Linux???
> 
> By the way my sources are in C++ (I assumed that if C profiling is
> supported so is C++, Am I wrong?)
> 

For RedHat 4.1, I needed to apply two patches posted by David
Mosberger-Tang to this list:

http://www.redhat.com/support/mailing-lists/archives/axp-list/1997-March/0463.html
fix for gprof,

http://www.redhat.com/support/mailing-lists/archives/axp-list/1997-March/0464.html
fix for three object files in libc_p.a.

Someone from the list told me that these are applicable to
RedHat 4.2, too (hope this is of any help for you).

I never had problems with the math library.
C++ is no problem.
I always use static linking for profiling.

Good luck,
Stefan Schroepfer,
scr@iis.fhg.de

P.S.:
Will RedHat 5.0 be 'profile-safe' on the Alpha?

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-11-19  9:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-18 22:00 Profiling under Linux Alpha ? Miguel A Sepulveda
     [not found] <Pine.GSO.3.96L.971118165438.12429A-100000@unixs1.cis.pitt.edu>
1997-11-18 22:55 ` Hugo van der Kooij
1997-11-19  2:18 ` Andreas Johansson
     [not found] <Pine.LNX.3.96.971118235506.31837C-100000@hvdkooij.caiw.nl>
1997-11-19  3:28 ` Jason Shiffer
  -- strict thread matches above, loose matches on Subject: below --
1997-11-19  9:16 Stefan Schroepfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox