c319ea15f4
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 |
||
---|---|---|
.. | ||
dtio | ||
dtmalloc | ||
dtnfscl | ||
dtnfsclient | ||
dtrace | ||
dtrace_test | ||
dtraceall | ||
fasttrap | ||
fbt | ||
lockstat | ||
profile | ||
prototype | ||
sdt | ||
systrace | ||
systrace_freebsd32 | ||
systrace_linux32 | ||
Makefile | ||
Makefile.inc |