Revision: 1420
Author: [email protected]
Date: Fri Jun 15 09:00:23 2012
Log: Added some TROUBLESHOOTING info
http://code.google.com/p/perl-devel-nytprof/source/detail?r=1420
Modified:
/trunk/lib/Devel/NYTProf.pm
=======================================
--- /trunk/lib/Devel/NYTProf.pm Fri Jun 3 14:22:26 2011
+++ /trunk/lib/Devel/NYTProf.pm Fri Jun 15 09:00:23 2012
@@ -1108,7 +1108,7 @@
=head1 TROUBLESHOOTING
-=head2 "Profile data incomplete, ..."
+=head2 "Profile data incomplete, ..." or "File format error: ..."
This error message means the file doesn't contain all the expected data.
That may be because it was truncated (perhaps the filesystem was full) or,
@@ -1130,7 +1130,7 @@
being profiled. That's most likely to happen if you enable profiling via
the
C<PERL5OPT> environment variable and have forgotten to unset it.
-=head2 Some files don't have profile information
+=head2 Some source files don't have profile information
This is usually due to NYTProf being initialized after some perl files have
already been compiled.
@@ -1140,6 +1140,19 @@
You could also try using the L</use_db_sub=1> option.
+=head2 Eval ... has unknown invoking fid
+
+When using the statement profiler you may see a warning message like this:
+
+ Eval '(eval 2)' (fid 9, flags:viastmt,savesrc) has unknown invoking fid
10
+
+Notice that the eval file id (fid 9 in this case) is lower than the file id
+that invoked the eval (fid 10 in this case). This is a known problem
caused by
+the way perl works and how the profiler assigns and outputs the file ids.
+The invoking fid is known but gets assigned a fid and output after the fid
for
+the eval, and that causes the warning when the file is read.
+
+
=head1 AUTHORS AND CONTRIBUTORS
B<Tim Bunce> (L<http://www.tim.bunce.name> and L<http://blog.timbunce.org>)
--
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]