*BSD News Article 11838


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA2346 ; Mon, 01 Mar 93 10:55:03 EST
Newsgroups: comp.os.386bsd.bugs
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!netcom.com!alm
From: alm@netcom.com (Andrew Moore)
Subject: gprof broken?  gmon.out not saved after normal exit
Message-ID: <1993Feb27.135854.3453@netcom.com>
Summary: gmon.out not always saved
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Sat, 27 Feb 1993 13:58:54 GMT
Lines: 9

Some programs which generate a gmon.out under SunOS do not generate one
under 386BSD.  The gprof man page only says that a program must call
exit(), or exit normally in order for gmon.out to be saved.

I have Chris Demetriou's gprof.ex installed, and I am able to profile
certain programs under 386BSD.  But one which uses only libc_p, even if
it is modified to only call exit(), does not save gmon.out.  Any
suggestions, before I start tearing it apart limb by limb?  Thanks.
-Andrew Moore <alm@necom.com>