On Thu, 2006-11-09 at 12:02 -0800, Miles Crawford wrote:
> The trouble is the tmon files all contain nothing but:
> 
> #fOrTyTwO
> $hz=100;
> $XS_VERSION='DProf 20050603.00';
> # All values are given in HZ
> $over_utime=3; $over_stime=2; $over_rtime=6;
> $over_tests=10000;

I think it doesn't write these out until the child process shuts down.
Did you shut down your server?

> It's not actually profiling any code.  The Apache config looks like:
> 
> PerlModule Apache::DProf
> PerlSwitches -I/home/mcrawfor/solstice/lib
> PerlModule Solstice::Handler

You'll need to init the debugger if you want it to profile things that
are loaded during startup.  Try adding this right after Apache::DProf:

<Perl>
        require Apache::DB;
        Apache::DB->init;
</Perl>

- Perrin

Reply via email to