From owner-cvs-all Tue Jun 30 02:59:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA15912 for cvs-all-outgoing; Tue, 30 Jun 1998 02:59:35 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [195.8.133.1] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA15883 for ; Tue, 30 Jun 1998 02:59:26 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.5) with ESMTP id LAA12857; Tue, 30 Jun 1998 11:57:07 +0200 (CEST) To: John Birrell cc: committers@FreeBSD.ORG Subject: Re: gmon output filename In-reply-to: Your message of "Tue, 30 Jun 1998 17:27:03 +1000." <199806300727.RAA26049@cimlogic.com.au> Date: Tue, 30 Jun 1998 11:57:06 +0200 Message-ID: <12855.899200626@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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