]> granicus.if.org Git - zfs/commit
- Properly fix the debug support for all the ASSERT's, VERIFIES, etc can be
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Mon, 19 May 2008 02:49:12 +0000 (02:49 +0000)
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Mon, 19 May 2008 02:49:12 +0000 (02:49 +0000)
commitcc7449ccd612ed8567e7a8a8574ea6df1d5faa7d
treeb93c2cf48f25df1de9cd8ec6505da74aaeb6df2e
parent6ab69573ffc79db6fcd0539218e96ded41fcafc1
- Properly fix the debug support for all the ASSERT's, VERIFIES, etc can be
  compiled out when doing performance runs.
- Bite the bullet and fully autoconfize the debug options in the configure
  time parameters.  By default all the debug support is disable in the core
  SPL build, but available to modules which enable it when building against
  the SPL.  To enable particular SPL debug support use the follow configure
  options:

  --enable-debug Internal ASSERTs
  --enable-debug-kmem Detailed memory accounting
  --enable-debug-mutex Detailed mutex tracking
  --enable-debug_kstat          Kstat info exported to /proc
  --enable-debug-callb Additional callb debug

git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@111 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
configure.ac
include/sys/callb.h
include/sys/debug.h
include/sys/kmem.h
include/sys/kstat.h
include/sys/mutex.h
modules/spl/spl-err.c
modules/spl/spl-proc.c