Re: Getting NYTProf to work with vhosts that use PerlOptions +Parent

2010-04-30 Thread Tim Bunce
On Thu, Apr 29, 2010 at 04:02:05PM -0700, Fred Moyer wrote: On Thu, Apr 29, 2010 at 4:39 AM, Tim Bunce tim.bu...@pobox.com wrote: On Wed, Apr 28, 2010 at 11:25:14PM -0400, Adam Prime wrote: Maybe you could try doing the push_handler for the ChildExitHandler when the ChildInitHandler

Re: Getting NYTProf to work with vhosts that use PerlOptions +Parent

2010-04-29 Thread Tim Bunce
On Wed, Apr 28, 2010 at 11:25:14PM -0400, Adam Prime wrote: Maybe you could try doing the push_handler for the ChildExitHandler when the ChildInitHandler executes? Just a shot in the dark. Umm, but how to I get the ChildInitHandler handle to use the right perl interpreter? Tim. Adam Tim

Re: Getting NYTProf to work with vhosts that use PerlOptions +Parent

2010-04-29 Thread Fred Moyer
On Thu, Apr 29, 2010 at 4:39 AM, Tim Bunce tim.bu...@pobox.com wrote: On Wed, Apr 28, 2010 at 11:25:14PM -0400, Adam Prime wrote: Maybe you could try doing the push_handler for the ChildExitHandler when the ChildInitHandler executes?  Just a shot in the dark. Umm, but how to I get the

Getting NYTProf to work with vhosts that use PerlOptions +Parent

2010-04-28 Thread Tim Bunce
This is proving to be tricky. If I load Devel::NYTProf::Apache[1] in the main part of httpd.conf then I get a profile that includes all the activity *except* for any activity in vhosts that use +Parent. If I load it inside the VirtualHost section then I get a profile of activity within that

Re: Getting NYTProf to work with vhosts that use PerlOptions +Parent

2010-04-28 Thread Adam Prime
Maybe you could try doing the push_handler for the ChildExitHandler when the ChildInitHandler executes? Just a shot in the dark. Adam Tim Bunce wrote: This is proving to be tricky. If I load Devel::NYTProf::Apache[1] in the main part of httpd.conf then I get a profile that includes all the