summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2009-07-20 13:51:56 +0100
committerDavid Mitchell <davem@iabyn.com>2009-07-20 13:51:56 +0100
commit1db12997af352ff571bae72090309d21832cdd02 (patch)
tree216e3f9d10ef0ccfbda2d82b8c96b01574aa5915 /INSTALL
parent7d48cb41fd3a26f4000a386de357c009204bcf14 (diff)
downloadperl-1db12997af352ff571bae72090309d21832cdd02.tar.gz
Mention DTrace in INSTALL.
Also explain that a debugging build is slower
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL16
1 files changed, 16 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 50eeea6c49..89707cf6c4 100644
--- a/INSTALL
+++ b/INSTALL
@@ -905,6 +905,22 @@ Removes -g from optimize, and -DDEBUGGING from ccflags.
If you are using a shared libperl, see the warnings about multiple
versions of perl under L<Building a shared Perl library>.
+Note that a perl built with -DDEBUGGING will be bigger and will run more
+slowly than a standard perl.
+
+=head2 DTrace support
+
+On platforms where DTrace is available, it may be enabled by
+using the -Dusedtrace option to Configure. DTrace probes are available for
+subroutine entry (sub-entry) and subroutine exit (sub-exit). Here's a
+simple D script that uses them:
+
+ perl$target:::sub-entry, perl$target:::sub-return {
+ printf("%s %s (%s:%d)\n", probename == "sub-entry" ? "->" : "<-",
+ copyinstr(arg0), copyinstr(arg1), arg2);
+ }
+
+
=head2 Extensions
Perl ships with a number of standard extensions. These are contained