zfs/include
Brian Behlendorf 055ffd98cf Autoconf --enable-debug-* cleanup
Cleanup the --enable-debug-* configure options, this has been pending
for quite some time and I am glad I finally got to it.  To summerize:

1) All SPL_AC_DEBUG_* macros were updated to be a more autoconf
friendly.  This mainly involved shift to the GNU approved usage of
AC_ARG_ENABLE and ensuring AS_IF is used rather than directly using
an if [ test ] construct.

2) --enable-debug-kmem=yes by default.  This simply enabled keeping
a running tally of total memory allocated and freed and reporting a
memory leak if there was one at module unload.  Additionally, it
ensure /proc/spl/kmem/slab will exist by default which is handy.
The overhead is low for this and it should not impact performance.

3) --enable-debug-kmem-tracking=no by default.  This option was added
to provide a configure option to enable to detailed memory allocation
tracking.  This support was always there but you had to know where to
turn it on.  By default this support is disabled because it is known
to badly hurt performence, however it is invaluable when chasing a
memory leak.

4) --enable-debug-kstat removed.  After further reflection I can't see
why you would ever really want to turn this support off.  It is now
always on which had the nice side effect of simplifying the proc handling
code in spl-proc.c.  We can now always assume the top level directory
will be there.

5) --enable-debug-callb removed.  This never really did anything, it was
put in provisionally because it might have been needed.  It turns out
it was not so I am just removing it to prevent confusion.
2009-10-30 13:58:51 -07:00
..
asm Add autoconf checks for atomic64_cmpxchg + atomic64_xchg 2009-10-30 13:53:17 -07:00
fs Build system and packaging (RPM support) 2009-03-09 15:56:55 -07:00
linux Set cwd to '/' for the process executing insmod. 2009-10-01 16:06:15 -07:00
rpc Minor bug fix in XDR code introduced in last minute change before landing. 2009-03-11 16:27:35 -07:00
sharefs Build system and packaging (RPM support) 2009-03-09 15:56:55 -07:00
sys Autoconf --enable-debug-* cleanup 2009-10-30 13:58:51 -07:00
util Build system and packaging (RPM support) 2009-03-09 15:56:55 -07:00
vm Build system and packaging (RPM support) 2009-03-09 15:56:55 -07:00
Makefile.am Install spl-devel products in /usr/src/spl-SPL_VERSION/LINUX_VERSION/ 2009-06-26 16:30:44 -07:00
Makefile.in Simplify rpm build rules, added config/rpm.am. 2009-07-01 14:37:44 -07:00
spl-ctl.h Go through and add a header with the proper UCRL number. 2008-05-26 04:38:26 +00:00
spl-device.h SLES10 Fixes (part 5): 2009-05-20 11:54:40 -07:00
splat-ctl.h Add basic credential support and splat tests. 2009-07-27 17:18:59 -07:00
strings.h More stub headers, 2008-03-04 18:22:31 +00:00
unistd.h More stub headers, 2008-03-04 18:22:31 +00:00