X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2FKconfig.debug;h=4448f91b865c10a48933a6a8d1c4ea645266b90c;hb=5a84d159061d914c8dd4aa372ac6e9529c2be453;hp=63f04c15e6f52924c98f91c1281c54cbdcb01ae9;hpb=463020ce428e2f00d4f33a383d6f39c7453a6854;p=linux-2.6 diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 63f04c15e6..4448f91b86 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -134,6 +134,17 @@ config SCHEDSTATS application, you can say N to avoid the very slight overhead this adds. +config TIMER_STATS + bool "Collect kernel timers statistics" + depends on DEBUG_KERNEL && PROC_FS + help + If you say Y here, additional code will be inserted into the + timer routines to collect statistics about kernel timers being + reprogrammed. The statistics can be read from /proc/timer_stats. + The statistics collection is started by writing 1 to /proc/timer_stats, + writing 0 stops it. This feature is useful to collect information + about timer usage patterns in kernel and userspace. + config DEBUG_SLAB bool "Debug slab memory allocations" depends on DEBUG_KERNEL && SLAB