Subject: | AutoSplit-ted files |
It seems that Devel::NYTprof cannot deal with autosplitted files:
$ perl -d:NYTProf -MStorable -e 'retrieve "bla"'
<irrelevant output>
$ nytprofhtml
Generating report...
Unable to open 'blib/lib/Storable.pm' for reading: No such file or
directory. Try running /usr/local/bin/nytprofhtml in the same directory
as you ran Devel::NYTProf, or ensure @INC is correct.
The resulting profiling pages seem to have some timings on sub-level,
but there's nothing on live-level or block-level.
I see that the situation is somewhat complicated, because the
autosplitted files have a line like
#line 345 "blib/lib/Storable.pm (autosplit into
blib/lib/auto/Storable/retrieve.al)"
in it, which makes it hard to deal with it, especially to find the
correct filename.
Regards,
Slaven