diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-11-15 11:09:48 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-11-15 11:09:48 -0500 |
commit | dc186ad741c12ae9ecac8b89e317ef706fdaf8f6 (patch) | |
tree | f118cc4972031c681b201d2b8ed95b21df41c1be /lib/Kconfig.debug | |
parent | a9366e61b03f55a6e009e687ad10e706714c9907 (diff) |
workqueue: Add debugobjects support
Add debugobject support to track the life time of work_structs.
While at it, remove duplicate definition of
INIT_DELAYED_WORK_ON_STACK().
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 234ceb10861..c91f0519d49 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -298,6 +298,14 @@ config DEBUG_OBJECTS_TIMERS | |||
298 | timer routines to track the life time of timer objects and | 298 | timer routines to track the life time of timer objects and |
299 | validate the timer operations. | 299 | validate the timer operations. |
300 | 300 | ||
301 | config DEBUG_OBJECTS_WORK | ||
302 | bool "Debug work objects" | ||
303 | depends on DEBUG_OBJECTS | ||
304 | help | ||
305 | If you say Y here, additional code will be inserted into the | ||
306 | work queue routines to track the life time of work objects and | ||
307 | validate the work operations. | ||
308 | |||
301 | config DEBUG_OBJECTS_ENABLE_DEFAULT | 309 | config DEBUG_OBJECTS_ENABLE_DEFAULT |
302 | int "debug_objects bootup default value (0-1)" | 310 | int "debug_objects bootup default value (0-1)" |
303 | range 0 1 | 311 | range 0 1 |