- Use an explicit "depends_on module kernel" guard in DTrace libraries that
authormarkj <markj@FreeBSD.org>
Fri, 7 Aug 2015 19:56:22 +0000 (19:56 +0000)
committermarkj <markj@FreeBSD.org>
Fri, 7 Aug 2015 19:56:22 +0000 (19:56 +0000)
commit4c6e75e399092eee840af6c4753849ead0774993
treeeee09922dd877676339df0127e0d2f415233c11d
parent37bc3330dc9308e5e3d34bee17d6fe27e11bf4be
- 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
> Description of fields to fill in above:                     76 columns --|
> PR:                       If a GNATS PR is affected by the change.
> Submitted by:             If someone else sent in the change.
> Reviewed by:              If someone else reviewed your modification.
> Approved by:              If you needed approval for this commit.
> Obtained from:            If the change is from a third party.
> MFC after:                N [day[s]|week[s]|month[s]].  Request a reminder email.
> MFH:                      Ports tree branch name.  Request approval for merge.
> Relnotes:                 Set to 'yes' for mention in release notes.
> Security:                 Vulnerability reference (one per line) or description.
> Sponsored by:             If the change was sponsored by an organization.
> Differential Revision:    https://reviews.freebsd.org/D### (*full* phabric URL needed).
> Empty fields above will be automatically removed.

M    libdtrace/io.d
M    libdtrace/ip.d
M    libdtrace/nfs.d
M    libdtrace/nfssrv.d
M    libdtrace/psinfo.d
M    libdtrace/regs_x86.d
M    libdtrace/sched.d
M    libdtrace/siftr.d
M    libdtrace/tcp.d
M    libdtrace/udp.d
cddl/lib/libdtrace/io.d
cddl/lib/libdtrace/ip.d
cddl/lib/libdtrace/nfs.d
cddl/lib/libdtrace/nfssrv.d
cddl/lib/libdtrace/psinfo.d
cddl/lib/libdtrace/regs_x86.d
cddl/lib/libdtrace/sched.d
cddl/lib/libdtrace/siftr.d
cddl/lib/libdtrace/tcp.d
cddl/lib/libdtrace/udp.d