On Fri, May 21, 2010 at 10:19:53PM +0100, Nicholas Clark wrote: > On Fri, May 21, 2010 at 03:54:30PM +0000, [email protected] > wrote: > > Revision: 1229 > > Author: [email protected] > > Date: Fri May 21 08:49:31 2010 > > Log: Run finish_profile() from CHECK, not END when perl is invoked with -c. > > > > This allows NYTProf to profile compilation-only checks. > > http://code.google.com/p/perl-devel-nytprof/source/detail?r=1229 > > There are no tests because I have no idea how to test this.
Turns out this change is causing core dumps with mod_perl2 (segv in pp_entersub after the profile has been closed). Not sure why yet. I'll dig into it tomorrow. Tim. > Specifically, as best I can tell, all the NYTProf tests explicitly start > profiling at INIT time, to avoid being perturbed by changes in modules loaded, > such as changes in NYTProf.pm itself. > > However, with -c, perl exits after CHECK, so INIT is never reached. > So the usual system isn't going to work :-) > > Nicholas Clark > > -- > You've received this message because you are subscribed to > the Devel::NYTProf Development User group. > > Group hosted at: http://groups.google.com/group/develnytprof-dev > Project hosted at: http://perl-devel-nytprof.googlecode.com > CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf > > To post, email: [email protected] > To unsubscribe, email: [email protected] > -- You've received this message because you are subscribed to the Devel::NYTProf Development User group. Group hosted at: http://groups.google.com/group/develnytprof-dev Project hosted at: http://perl-devel-nytprof.googlecode.com CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf To post, email: [email protected] To unsubscribe, email: [email protected]
