summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum/vinumvar.h
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>1999-04-05 04:03:45 +0000
committergrog <grog@FreeBSD.org>1999-04-05 04:03:45 +0000
commit9ba513f1ae3bcc36a0f84a158485fb6f05a7d5b1 (patch)
tree687c2523ebc8962fbccfdcd2a1d713fb2c9ab0ab /sys/dev/vinum/vinumvar.h
parenta06e742697dbe241f9814b11bebe875ffba70f9b (diff)
downloadFreeBSD-src-9ba513f1ae3bcc36a0f84a158485fb6f05a7d5b1.zip
FreeBSD-src-9ba513f1ae3bcc36a0f84a158485fb6f05a7d5b1.tar.gz
Add debug flag DEBUG_EXITFREE to log problems freeing memory on exit.
Diffstat (limited to 'sys/dev/vinum/vinumvar.h')
-rw-r--r--sys/dev/vinum/vinumvar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumvar.h b/sys/dev/vinum/vinumvar.h
index 45b28ae..c9ff9a4 100644
--- a/sys/dev/vinum/vinumvar.h
+++ b/sys/dev/vinum/vinumvar.h
@@ -569,6 +569,7 @@ enum debugflags {
DEBUG_MEMFREE = 64, /* keep info about Frees */
DEBUG_BIGDRIVE = 128, /* pretend our drives are 100 times the size */
DEBUG_REMOTEGDB = 256, /* go into remote gdb */
+ DEBUG_EXITFREE = 512, /* log "freeing malloc" on exit */
};
#ifdef KERNEL
OpenPOWER on IntegriCloud