Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 1998 17:27:03 +1000 (EST)
From:      John Birrell  <jb@cimlogic.com.au>
To:        committers@FreeBSD.ORG
Subject:   gmon output filename
Message-ID:  <199806300727.RAA26049@cimlogic.com.au>

next in thread | raw e-mail | index | archive | help

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?

-- 
John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/
CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137

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?199806300727.RAA26049>