diff options
Diffstat (limited to 'lib/Kconfig.debug')
| -rw-r--r-- | lib/Kconfig.debug | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 754cc0027f2a..d2099f41aa1e 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -194,6 +194,37 @@ config TIMER_STATS | |||
| 194 | (it defaults to deactivated on bootup and will only be activated | 194 | (it defaults to deactivated on bootup and will only be activated |
| 195 | if some application like powertop activates it explicitly). | 195 | if some application like powertop activates it explicitly). |
| 196 | 196 | ||
| 197 | config DEBUG_OBJECTS | ||
| 198 | bool "Debug object operations" | ||
| 199 | depends on DEBUG_KERNEL | ||
| 200 | help | ||
| 201 | If you say Y here, additional code will be inserted into the | ||
| 202 | kernel to track the life time of various objects and validate | ||
| 203 | the operations on those objects. | ||
| 204 | |||
| 205 | config DEBUG_OBJECTS_SELFTEST | ||
| 206 | bool "Debug objects selftest" | ||
| 207 | depends on DEBUG_OBJECTS | ||
| 208 | help | ||
| 209 | This enables the selftest of the object debug code. | ||
| 210 | |||
| 211 | config DEBUG_OBJECTS_FREE | ||
| 212 | bool "Debug objects in freed memory" | ||
| 213 | depends on DEBUG_OBJECTS | ||
| 214 | help | ||
| 215 | This enables checks whether a k/v free operation frees an area | ||
| 216 | which contains an object which has not been deactivated | ||
| 217 | properly. This can make kmalloc/kfree-intensive workloads | ||
| 218 | much slower. | ||
| 219 | |||
| 220 | config DEBUG_OBJECTS_TIMERS | ||
| 221 | bool "Debug timer objects" | ||
| 222 | depends on DEBUG_OBJECTS | ||
| 223 | help | ||
| 224 | If you say Y here, additional code will be inserted into the | ||
| 225 | timer routines to track the life time of timer objects and | ||
| 226 | validate the timer operations. | ||
| 227 | |||
| 197 | config DEBUG_SLAB | 228 | config DEBUG_SLAB |
| 198 | bool "Debug slab memory allocations" | 229 | bool "Debug slab memory allocations" |
| 199 | depends on DEBUG_KERNEL && SLAB | 230 | depends on DEBUG_KERNEL && SLAB |
