Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 1998 11:57:06 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        John Birrell <jb@cimlogic.com.au>
Cc:        committers@FreeBSD.ORG
Subject:   Re: gmon output filename 
Message-ID:  <12855.899200626@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 30 Jun 1998 17:27:03 %2B1000." <199806300727.RAA26049@cimlogic.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199806300727.RAA26049@cimlogic.com.au>, John Birrell writes:
>I'm getting bitten by the fact that libc/gmon/gmon.c:_mcleanup() has
>the profile output filename hardcoded as gmon.out. I'm trying to profile
>a client server application where I need to get the profiled data from
>both the client and the server. As it happens, all my test programs
>tend to run the application in such a way that both the client and
>the server processes exit at about the same time - one clobbers the
>profiled data of the other. 8-(
>
>I'd like to change the gmon code to create a file called prog.gmon (where
>prog is obtained from __progname) in the same style as core dumps.
>Are their any objections to me committing this change to -current?

go for it.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
"ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12855.899200626>