infra: make mem debugging independently configurable

This commit is contained in:
Thomas Schoebel-Theuer 2013-01-21 13:13:26 +01:00
parent 2271f55e8c
commit d02814e9c5
2 changed files with 10 additions and 1 deletions

View File

@ -23,6 +23,15 @@ config MARS_DEBUG_DEFAULT
---help---
normally OFF
config MARS_DEBUG_MEM
bool "debug memory operations"
depends on MARS_DEBUG
default n
---help---
This adds considerable space and time overhead, but catches
many errors (including some that are not caught by kmemleak).
Use only for development and thorough testing!
config MARS_BIGMODULE
tristate "compile all MARS modules into a single kernel module"
depends on MARS

View File

@ -6,7 +6,7 @@
#define BRICK_DEBUG_MEM 4096
#ifndef CONFIG_MARS_DEBUG
#ifndef CONFIG_MARS_DEBUG_MEM
#undef BRICK_DEBUG_MEM
#endif