perl Provider

Version 1 by aleventhal
on Jan 08, 2008 16:05.

compared with
Current by Sven_Dowideit
on Feb 14, 2008 20:45.

(show comment)
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (6)

View page history
{anchor:top}
 
h1. {anchor:CHP-perl} {{perl}} Provider
 
The {{perl}} provider provides probes for tracing perl scripts.
{color:red}
{color:red}{*}This provider is in development and is not currently available{*}{color}
{color}
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 \\ |
| | | |
| | | |
| | | |
\\ \\

h3. Issues.

# 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)
# There are intermittent linker issuse for miniperl - caused when you build a second or third time
#  

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

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact