aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2015-04-08 02:36:37 +0000
committerMark Johnston <markj@FreeBSD.org>2015-04-08 02:36:37 +0000
commit67cf27b70f80c25edfc6f0c57be9b2dd413ea97c (patch)
tree48267c7be89f3f03d035711a7b82b3453bab848e /cddl/lib
parent5f01ba81aefd6e2be3bd010d12a7c207a362bfb4 (diff)
libdtrace: add support for lazyload mode.
Passing "-x lazyload" to dtrace -G during compilation causes dtrace(1) to not link drti.o into the output object file, so the USDT probes are not created during process startup. Instead, dtrace(1) will automatically discover and create probes on the process' behalf when attaching. Differential Revision: https://reviews.freebsd.org/D2203 Reviewed by: rpaulo MFC after: 1 month
Notes
Notes: svn path=/head/; revision=281257
Diffstat (limited to 'cddl/lib')
-rw-r--r--cddl/lib/libdtrace/libproc_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/lib/libdtrace/libproc_compat.h b/cddl/lib/libdtrace/libproc_compat.h
index 0d99d967553a..8704b820df58 100644
--- a/cddl/lib/libdtrace/libproc_compat.h
+++ b/cddl/lib/libdtrace/libproc_compat.h
@@ -59,6 +59,6 @@
#define Pstate proc_state
#define Psymbol_iter_by_addr proc_iter_symbyaddr
#define Punsetflags proc_clearflags
-#define Pupdate_maps(p) do { } while (0)
+#define Pupdate_maps proc_rdagent
#define Pupdate_syms proc_updatesyms
#define Pxecbkpt proc_bkptexec