perl Provider

Skip to end of metadata
Go to start of metadata

perl Provider

The perl provider provides probes for tracing perl scripts.

This provider is in development and is not currently available

The following probes are available in BleadPerl, Leopard OSX and various patches for 5.8.8 and 5.10

Probe (arguments) Description
sub-entry (function, filename, line number)  perl code function call entry
sub-return (function, filename, line number)  perl code function call exit

 The following probes are being worked on by SvenDowideit, and are available for 5.8.8 and bleadperl

Probe arguments Description
load-module-entry moduleName instruments use, require, do and load
load-module-return moduleName  
main-enter none instruments the internal perl processing stages - construct, parse, run, destruct
main-exit none  
new-sv void*
instruments all perl allocations
del-sv void* instruments all perl deallocations


Other expected or hoped for probes:

Probe arguments Description
sub-stack (function, filename, line number, stacktext, stackdepth) hoped to be able to show a text stack dump on sub-entry
     
     
     



Issues.

  1. The changes still only work for dynamically linked Perl, statically links execuatbles core dump if you have probes enabled (which causes issues when the build process uses miniperl)
  2. There are intermittent linker issuse for miniperl - caused when you build a second or third time
  3.  
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Oracle community and they might not be employed or in any way formally affiliated with Oracle. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Oracle nor any other party necessarily agrees with them.