Apache-DB
view release on metacpan or search on metacpan
lib/Apache/DProf.pm view on Meta::CPAN
PerlModule Apache::DProf
When the Apache::DProf module is pulled in by the parent server, it
will push a C<PerlChildInitHandler> via the Apache push_handlers
method. When a child server is starting the C<Apache::DProf::handler>
subroutine will called. This handler will create a directory
C<dprof/$$> relative to B<ServerRoot> where Devel::DProf will create
it's I<tmon.out> file. Then, the handler will initialize the Perl
debugger and pull in Devel::DProf who will then install it's hooks
into the debugger and start it's profile timer. The C<END> subroutine
installed by Devel::DProf will be run when the child server is
shutdown and the I<$ServerRoot/dprof/$$/tmon.out> file will be
generated and ready for B<dprofpp>.
B<NOTE:> I<$ServerRoot/logs/dprof/> will need to be writable by the user
Apache is running as (i.e. nobody, apache, etc.). If you can not write
to $ServerRoot as this user, set $ENV{APACHE_DPROF_PATH_ABSOLUTE} to
an absolute path of a directory this user can.
=head1 AUTHOR
( run in 1.111 second using v1.01-cache-2.11-cpan-49f99fa48dc )