Missed a bit (possibly vital) out. I can see a successful read on Std.pm:

On Wednesday, 29 June 2011 15:58:05 UTC+1, Martin wrote:
>
> Just in case it provides a clue:
>
> I ran an strace on this code with an exit 0 placed after the last "use" 
> statement. Then I picked a module which was reported with a warning like:
>
> fid 23 has no src saved for 
> /home/martin/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/Getopt/Std.pm 
> (NYTP_FIDf_HAS_SRC not set but src available!)
>
> The only mentions of Std in the trace are:
> # these right at start after failing to find Std.pm or Std.pmc anywhere 
> else
> stat64("/home/martin/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/Getopt/Std.pm",
>  
> {st_mode=S_IFREG|0444, st_size=8370, ...}) = 0
> open("/home/martin/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/Getopt/Std.pm",
>  
> O_RDONLY|O_LARGEFILE) = 5
> # a lot of these:
> clock_gettime(CLOCK_MONOTONIC, {11311843, 972136001}) = 0
> # and seemingly in the middle of nowhere:
>
 read(5, "package Getopt::Std;\nrequire 5.0"..., 8192) = 8192

> lstat64("/home/martin/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/Getopt/Std.pmc",
>  
> 0xbff870bc) = -1 ENOENT (No such file or directory)
> # but not corresponding lstat for Std.pm
>
> $ ls -la /home/martin/perl5/perlbrew/perls/perl-5.14.0/lib/5.14.0/Getopt
> total 100
> drwxr-xr-x  2 martin root  4096 2011-05-17 10:58 .
> drwxr-xr-x 60 martin root  4096 2011-05-17 10:58 ..
> -r--r--r--  1 martin root 79188 2011-05-17 10:58 Long.pm
> -r--r--r--  1 martin root  8370 2011-05-17 10:58 Std.pm
>
> Martin
>

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