aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/libdtrace/ip.d
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2015-08-07 19:56:22 +0000
committerMark Johnston <markj@FreeBSD.org>2015-08-07 19:56:22 +0000
commit7e518a6648cd25343982e9ae18cf638ca8712d49 (patch)
treeeee09922dd877676339df0127e0d2f415233c11d /cddl/lib/libdtrace/ip.d
parent8f1d6b69150315ee24bee29a63dbb7a4f7048696 (diff)
downloadsrc-7e518a6648cd25343982e9ae18cf638ca8712d49.tar.gz
src-7e518a6648cd25343982e9ae18cf638ca8712d49.zip
- Use an explicit "depends_on module kernel" guard in DTrace libraries that
reference types defined in the kernel. Otherwise dtrace(1) expects to find CTF definitions for all referenced types, which is not very reasonable when it is being used in a build environment. This was previously worked around by adding "-x nolibs" to dtrace -h or -G invocations, but as of r283025, dtrace(1) actually handles dependencies properly, so this is no longer necessary. - Remove "pragma ident" directives from DTrace libraries, as they're being phased out upstream as well. Submitted by: Krister Johansen <Krister.Johansen@isilon.com> [1] MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=286420
Diffstat (limited to 'cddl/lib/libdtrace/ip.d')
-rw-r--r--cddl/lib/libdtrace/ip.d1
1 files changed, 1 insertions, 0 deletions
diff --git a/cddl/lib/libdtrace/ip.d b/cddl/lib/libdtrace/ip.d
index a1a2996362fd..33fb007e6fff 100644
--- a/cddl/lib/libdtrace/ip.d
+++ b/cddl/lib/libdtrace/ip.d
@@ -25,6 +25,7 @@
* Copyright (c) 2013 Mark Johnston <markj@freebsd.org>
*/
+#pragma D depends_on module kernel
#pragma D depends_on provider ip
/*