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>
This commit is contained in:
committed by
Tejun Heo
parent
a9366e61b0
commit
dc186ad741
@@ -298,6 +298,14 @@ config DEBUG_OBJECTS_TIMERS
|
||||
timer routines to track the life time of timer objects and
|
||||
validate the timer operations.
|
||||
|
||||
config DEBUG_OBJECTS_WORK
|
||||
bool "Debug work objects"
|
||||
depends on DEBUG_OBJECTS
|
||||
help
|
||||
If you say Y here, additional code will be inserted into the
|
||||
work queue routines to track the life time of work objects and
|
||||
validate the work operations.
|
||||
|
||||
config DEBUG_OBJECTS_ENABLE_DEFAULT
|
||||
int "debug_objects bootup default value (0-1)"
|
||||
range 0 1
|
||||
|
||||
Reference in New Issue
Block a user