diff options
author | David Leadbeater <dgl@dgl.cx> | 2010-12-16 20:15:57 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-12-16 20:41:39 -0800 |
commit | 0d157ee2a019966dc8b4251425c92472c8c65707 (patch) | |
tree | a54ab6f0de768b888b255cb427b9313f1a82c8dc /pod/perldelta.pod | |
parent | 8b079db663fda8b4ad5c7f33655632c57d3e32fd (diff) | |
download | perl-0d157ee2a019966dc8b4251425c92472c8c65707.tar.gz |
[perl #80548] perldelta for DTrace package name change
Diffstat (limited to 'pod/perldelta.pod')
-rw-r--r-- | pod/perldelta.pod | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 82afad30e0..66b12d556d 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -109,6 +109,26 @@ This double setting arrangement is a stopgap until the reason for unwinding can be made properly introspectable. C<$@> has never been a reliable indicator of this. +=head2 DTrace probes now include package name + +The DTrace probes now include an additional argument (C<arg3>) which contains +the package the subroutine being entered or left was compiled in. + +For example using the following DTrace script: + + perl$target:::sub-entry + { + printf("%s::%s\n", copyinstr(arg0), copyinstr(arg3)); + } + +and then running: + + perl -e'sub test { }; test' + +DTrace will print: + + main::test + =head1 Security XXX Any security-related notices go here. In particular, any security |