opnsense-src/sys/cddl/dev/dtrace
Andriy Gapon c319ea15f4 opensolaris code: translate INVARIANTS to DEBUG and ZFS_DEBUG
Do this by forcing inclusion of
sys/cddl/compat/opensolaris/sys/debug_compat.h
via -include option into all source files from OpenSolaris.
Note that this -include option must always be after -include opt_global.h.

Additionally, remove forced definition of DEBUG for some modules and fix
their build without DEBUG.

Also, meaning of DEBUG was overloaded to enable WITNESS support for some
OpenSolaris (primarily ZFS) locks.  Now this overloading is removed and
that use of DEBUG is replaced with a new option OPENSOLARIS_WITNESS.

MFC after:	17 days
2013-08-06 15:51:56 +00:00
..
amd64 dtrace disassembler: take the latest/last CDDL code from OpenSolaris 2013-07-29 16:56:38 +00:00
i386 dtrace disassembler: take the latest/last CDDL code from OpenSolaris 2013-07-29 16:56:38 +00:00
mips - For o32 ABI get arguments from the stack 2012-03-26 21:47:06 +00:00
powerpc Add FBT for PowerPC DTrace. Also, clean up the DTrace assembly code, 2013-03-18 05:30:18 +00:00
dtrace_anon.c
dtrace_cddl.h Add more compatibility structure members needed by the upcoming fasttrap 2010-08-22 11:04:43 +00:00
dtrace_clone.c
dtrace_debug.c Correct a series of errors in the hand-rolled locking for drace_debug.c: 2012-12-23 15:50:37 +00:00
dtrace_hacks.c
dtrace_ioctl.c Hide references to mod_lock. In FreeBSD it is always acquired with the 2013-07-05 22:42:10 +00:00
dtrace_load.c opensolaris code: translate INVARIANTS to DEBUG and ZFS_DEBUG 2013-08-06 15:51:56 +00:00
dtrace_modevent.c
dtrace_sysctl.c
dtrace_test.c Port the SDT test now that it's possible to create SDT probes that take 2013-06-02 00:33:36 +00:00
dtrace_unload.c opensolaris code: translate INVARIANTS to DEBUG and ZFS_DEBUG 2013-08-06 15:51:56 +00:00
dtrace_vtime.c