Looks like Leopard perl executable does have perl probes but they are
different from the once listed in 
http://blogs.sun.com/alanbur/entry/dtrace_and_perl

Here is what I did.

On one terminal ran perl and on another ran

$ ps -ef | grep perl
   501  4385  4373   0   0:00.01 ttys000    0:00.01 perl

$ sudo dtrace -l -n perl4385:::
    ID   PROVIDER            MODULE                          FUNCTION  
NAME
18659   perl4385     libperl.dylib                      Perl_pp_sort  
entry
18660   perl4385     libperl.dylib                   Perl_pp_dbstate  
entry
18661   perl4385     libperl.dylib                  Perl_pp_entersub  
entry
18662   perl4385     libperl.dylib                      Perl_pp_last  
exit
18663   perl4385     libperl.dylib                    Perl_pp_return  
exit
18664   perl4385     libperl.dylib                     Perl_dounwind  
exit
18665   perl4385     libperl.dylib                Perl_pp_leavesublv  
exit
18666   perl4385     libperl.dylib                  Perl_pp_leavesub  
exit

Alan's blog talks about sub-entry and sub-return probes which do not
exist in Leopards version of the probes.

May be the apple folks can clarify.

-Angelo


On Nov 27, 2007, at 11:28 AM, Stéphane Payrard wrote:

> It seems, that despite marketting claims, in Leopard the Perl  
> executable (in /usr/bin/perl) comes without probes. If I knew how to  
> list probes in an executable I could verify my claim.
> New to dtrace, I may not see the obvious.
>
>
> --
> This message posted from opensolaris.org
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss@opensolaris.org

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to