Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: John P Williams <jpw@zk3.dec.com>
To: WANGNICK Sebastian <sebastian.wangnick@eurocontrol.be>
Subject: Re: Hiprof problems
Date: 1998/08/20	[thread overview]
Message-ID: <35DC1CFE.8D6933BE@zk3.dec.com> (raw)
In-Reply-To: 35D98153.794B@eurocontrol.be

> I'm currently trying to instrument our application with hiprof.
> I'm working on OSF1 V3.2 62 alpha. The application uses pthreads.
> 
> I call atom as following: atom Workpackage6 -v -tool hiprof -env threads
> -all -shlibdir hiprof.shlib -gp -toolargs="-calltime -dirname hiout
> -textout -systime -sigdump USR1".
> 
> First issue: odump -D tells me SO_SUFFIX: .Workpackage6.hiprof.threads.
> However, the 3.2G loader doesn't take this setting into account!

This first issue seems to be the result of you using Hiprof without
first installing the complete Atom Advance Development Kit (ADK).
Past ADKs for V3.2* provided a new version of the loader, which knows
how to load shared libraries that have been instrumented by Atom.

We no longer offer an ADK for V3.2*, because the great majority of
our customers now run V4.0 or later, but it looks as if you have access
to an older ADK, so I think you need to install it on the machine where
you want to use Hiprof.

> Main issue: Somewhen during thread establishment (no detailed point in
> time known yet) I get the message:
>         Hiprof Panic: hacked stack back to nothing

This occurs because our Atom tools do not support the V3.2* implementation
of pthreads. They only support the rather different implementation that was
introduced in V4.0. We have just not disabled the "-env threads" option in
the version of the ADK for V3.2* because it is not an actual product.

Atom and Hiprof first became products in V4.0, so no guarantees are offered
on earlier versions of the operating system. I suggest that you upgrade to
V4.0 or later (eg V4.0D, or V4.0E when it is released). Alternatively, try
the gprof command after compiling your application with the -pg option,
or use the uprofile or pixie command with prof.

Please send me email if you would like to discuss this further.

	Thanks
		John P Williams, Digital UNIX Development Environment Group



      reply	other threads:[~1998-08-20  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-18  4:00 Hiprof problems WANGNICK Sebastian
1998-08-20  4:00 ` John P Williams [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