From owner-cvs-all Tue Jun 30 00:16:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA19468 for cvs-all-outgoing; Tue, 30 Jun 1998 00:16:45 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA19386 for ; Tue, 30 Jun 1998 00:16:19 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id RAA26049 for committers@freebsd.org; Tue, 30 Jun 1998 17:27:04 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199806300727.RAA26049@cimlogic.com.au> Subject: gmon output filename To: committers@FreeBSD.ORG Date: Tue, 30 Jun 1998 17:27:03 +1000 (EST) X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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