Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Dec 2000 09:31:24 -0500 (EST)
From:      Thomas David Rivers <rivers@dignus.com>
To:        dwmalone@maths.tcd.ie, rivers@dignus.com
Cc:        freebsd-stable@freebsd.org
Subject:   Re: gcc profiling support?
Message-ID:  <200012221431.JAA15706@lakes.dignus.com>
In-Reply-To: <20001222142757.A88340@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
David Malone <dwmalone@maths.tcd.ie> writes:
> On Fri, Dec 22, 2000 at 08:51:14AM -0500, Thomas David Rivers wrote:
> 
> > But, when I use a small "hello world" program, and compile
> > it with:
> > 
> >    gcc -pg hello.c
> > 
> > and run the resulting a.out, I don't get the expected
> > gmon.out.
> 
> It should be called a.out.gmon I think.
> 
> 	David.
> 

Ah... so it is... (makes sense - sorta analagous to core dumps)

Well then, the `bug' is in gprof - it expects to see gmon.out.

Perhaps just a note in the gprof man page would be enough?

	- Dave Rivers -










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




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