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.
- 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
Labels:
None