httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: gprof under linux
Date Wed, 07 Jan 1998 12:22:59 GMT
Not unless you've got a source license or want to decompile the object... 
My tweak changes the filename used to write the gmon.out file. 

You could alternately write a module that has a child_exit function which
does a mkdir(/somewhere/$pid); chdir(/somewhere/$pid), and then exits.
This will cause the gmon.out to be plopped in some place different for
each child.

Dean

On Tue, 6 Jan 1998, Igor Tatarinov wrote:

> Is it possible to do the same on Solaris?
> 
> igor
> 
> Dean Gaudet wrote:
> > 
> > If you use Linux and want to get useful gprof numbers for apache... and
> > pretty much any program that has a heavy libc component, then visit
> > <http://www.arctic.org/~dgaudet/linux/> I'm starting to build RPMs of the
> > tweaks I make to redhat 4.2 for useability.
> > 
> > There's an extra tweak in the libc that makes it useful for running gprof
> > against a standalone apache... as opposed to running with -X (which
> > changes the performance drastically due to the alarm() calls).
> > 
> > Dean
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Igor Tatarinov, graduate student, Computer Science Dept, NDSU
> e-mail: tatarino@prairie.nodak.edu   or   itat@acm.org
> http://www.cs.ndsu.nodak.edu/~tatarino
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 


Mime
View raw message