Home | History | Annotate | Download | only in dtrace
History log of /src/external/cddl/osnet/dev/dtrace/dtrace_hacks.c
RevisionDateAuthorComments
 1.8  29-Jun-2018  kamil Rework the changes to DTRACE/ZFS files that were fixing Clang/LLVM build

Rever changes to upstream files and replace them with additional -Wno-
compiler argument flags.

Tested with base LLVM.

Requested by <chuq>
 1.7  06-Jun-2018  kamil branches: 1.7.2;
Correct compilation of osnet/dev/dtrace/dtrace_hacks.c under Clang

Use __UNCONST() to remove const from an argument.

This could be done with -W flags, but they are incompatible between
compilers.

This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.

Sponsored by <The NetBSD Foundation>
 1.6  28-May-2018  chs merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
- dtrace FBT probes can now be placed in kernel modules.
- ZFS now supports mmap().
 1.5  23-Jun-2016  pgoyette branches: 1.5.14;
One more removal of a redefined symbol while loading dtrace module.

Should finish the issues with PR kern/51265
 1.4  23-Jun-2016  pgoyette Import fix from FreeBSD - see [1], [2] references below...

Fix DTrace's panic() action.

It would previously call into some unfinished Solaris compatibility code
and return without actually calling panic(9). The compatibility code is
unneeded, however, so just remove it and have dtrace_panic() call vpanic(9)
directly.

Fixes immediate problem in PR-51265. However, this now reveals another
redefined symbol 'strpbrk' in the required module "solaris".


[1] https://svnweb.freebsd.org/changeset/base/281916
[2] http://lists.freebsd.org/pipermail/svn-src-head/2015-April/071019.html
 1.3  28-Feb-2010  darran branches: 1.3.24;
DTrace: enable access to kernel space for DTrace scripts.
 1.2  21-Feb-2010  darran Apply NetBSD changes to DTrace.

Ok with core@.
 1.1  21-Feb-2010  darran Add the FreeBSD 8-RC1 changes for DTrace.

Ok with core@.
 1.3.24.1  10-Jul-2016  martin Pull up following revision(s) (requested by pgoyette in ticket #1189):
external/cddl/osnet/sys/kern/string.c: revision 1.3
external/cddl/osnet/dev/dtrace/dtrace_hacks.c: revision 1.5
external/cddl/osnet/dist/uts/common/dtrace/dtrace.c: revision 1.32
external/cddl/osnet/dev/dtrace/amd64/dtrace_asm.S: revision 1.6
Import fix from FreeBSD - see [1], [2] references below...
Fix DTrace's panic() action.
It would previously call into some unfinished Solaris compatibility code
and return without actually calling panic(9). The compatibility code is
unneeded, however, so just remove it and have dtrace_panic() call
vpanic(9)
directly.
Fixes immediate problem in PR-51265. However, this now reveals another
redefined symbol 'strpbrk' in the required module "solaris".
[1] https://svnweb.freebsd.org/changeset/base/281916
[2] http://lists.freebsd.org/pipermail/svn-src-head/2015-April/071019.html
On NetBSD we already have strpbrk() in libkern, so we don't need to
provide another copy in the module. Removes another 'redefined symbol'
error when loading the module.
Related to PR kern/51265
One more removal of a redefined symbol while loading dtrace module.
Should finish the issues with PR kern/51265
 1.5.14.2  28-Jul-2018  pgoyette Sync with HEAD
 1.5.14.1  25-Jun-2018  pgoyette Sync with HEAD
 1.7.2.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed