1Devel::Profiler::ApacheU(s3e)r Contributed Perl DocumentaDteivoenl::Profiler::Apache(3)
2
3
4
6 Devel::Profiler::Apache - Hook Devel::Profiler into mod_perl
7
9 # in httpd.conf
10 PerlModule Devel::Profiler::Apache;
11
12 # or in startup.pl
13 use Devel::Profiler::Apache;
14
16 The Devel::Profiler::Apache module will run a Devel::Profiler profiler
17 inside each child server and write the tmon.out file in the directory
18 $ServerRoot/logs/profiler/$$ when the child is shutdown. The next time
19 the parent server pulls in Devel::Profiler::Apache (via soft or hard
20 restart), the $ServerRoot/logs/dprof is cleaned out before new profiles
21 are written for the new children.
22
23 Devel::Profiler::Apache currently uses the package_filter option to
24 avoid profiling any modules that begin with Apache::. This necessary
25 to avoid profiling sensitive Apache XS code that do strange things with
26 their symbol tables (storing arrays in the CODE slots, for one!). At
27 some point this will be refined to only exclude the problem modules
28 within Apache::.
29
31 Most users of Devel::Profiler can simply copy the code from the
32 SYNPOSIS and use that as-is. However, if you need to modify the way
33 Devel::Profiler works then you can pass Devel::Profiler::Apache the
34 same options that are used with Devel::Profiler:
35
36 use Devel::Profiler::Apache buffer_size => 1024;
37
39 This module is based heavily on Apache::DProf by Doug MacEachern which
40 provides equivalent functionality for Apache::DProf.
41
43 Sam Tregar
44
46 Devel::Profiler, Apache::DProf
47
48
49
50perl v5.12.0 2002-06-03 Devel::Profiler::Apache(3)