kmemleak: Introduce a default off mode for kmemleak
authorJason Baron <jbaron@redhat.com>
Mon, 19 Jul 2010 10:54:17 +0000 (11:54 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 19 Jul 2010 10:54:17 +0000 (11:54 +0100)
commitab0155a22ad5bda3a6dbfbbecc416cbe92619755
tree0a8b2caea650cc31f61bc8723b0da275382701af
parenta7686a45c07462b78df5ac15fc696a86e57ccf91
kmemleak: Introduce a default off mode for kmemleak

Introduce a new DEBUG_KMEMLEAK_DEFAULT_OFF config parameter that allows
kmemleak to be disabled by default, but enabled on the command line
via: kmemleak=on. Although a reboot is required to turn it on, its still
useful to not require a re-compile.

Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
lib/Kconfig.debug
mm/kmemleak.c
This page took 0.024604 seconds and 5 git commands to generate.