Revision: 1185
Author: [email protected]
Date: Sat Apr 17 05:34:28 2010
Log: Added docs about POSIX::_exit

http://code.google.com/p/perl-devel-nytprof/source/detail?r=1185

Modified:
 /trunk/Changes
 /trunk/lib/Devel/NYTProf.pm

=======================================
--- /trunk/Changes      Mon Apr  5 16:22:16 2010
+++ /trunk/Changes      Sat Apr 17 05:34:28 2010
@@ -18,6 +18,7 @@
 XXX TODO
 Refine and document handing of string evals
 Consider eval_pv from outside perl, e.g. plperl
+Add option to intercept POSIX::_exit().

   Fixed off-by-1 error in number of Files an xsub/opcode was called from.

=======================================
--- /trunk/lib/Devel/NYTProf.pm Tue Apr 13 03:05:10 2010
+++ /trunk/lib/Devel/NYTProf.pm Sat Apr 17 05:34:28 2010
@@ -949,11 +949,13 @@
If you read the file before the profiling has finished you'll get this error.

 If the process being profiled is still running you'll need to wait until it
-exits cleanly (or L</finish_profile> is called explicitly).
+exits cleanly (runs C<END> blocks or L</finish_profile> is called explicitly).

If the process being profiled has exited then it's likely that it met with a sudden and unnatural death that didn't give NYTProf a chance to finish the profile.
 If the sudden death was due to a signal then L</sigexit=1> may help.
+If the sudden death was due to calling C<POSIX::_exit($status)> then you'll
+need to call L</finish_profile> before calling C<POSIX::_exit>.

 =head1 AUTHORS AND CONTRIBUTORS

--
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]

Reply via email to