why gmon.out is always limited to 470k ?

2013-04-08 Thread Илья Шипицин
Hello!

I'm trying to profile long running application, however gmon.out never
grows more than 470k (I'm running OpenBSD-5.2/amd64 if that matters)

is there special trick for long running application profiling ?

Cheers,
Ilya Shipitsin



Re: why gmon.out is always limited to 470k ?

2013-04-08 Thread Marc Espie
On Mon, Apr 08, 2013 at 07:06:45PM +0600,  ??? wrote:
 Hello!
 
 I'm trying to profile long running application, however gmon.out never
 grows more than 470k (I'm running OpenBSD-5.2/amd64 if that matters)
 
 is there special trick for long running application profiling ?

There seems to be a problem with your setup... I've had much larger
profiles in the past.



Re: why gmon.out is always limited to 470k ?

2013-04-08 Thread Otto Moerbeek
On Mon, Apr 08, 2013 at 07:06:45PM +0600,  ??? wrote:

 Hello!
 
 I'm trying to profile long running application, however gmon.out never
 grows more than 470k (I'm running OpenBSD-5.2/amd64 if that matters)
 
 is there special trick for long running application profiling ?
 
 Cheers,
 Ilya Shipitsin

That's a feature. Profile information is stored in counters per
address range. The file won't grow in time. Size is determined by
by a call to profile(2), normally done by monstartup(3).


-Otto