]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - lib/Kconfig.debug
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
[karo-tx-linux.git] / lib / Kconfig.debug
index 63f04c15e6f52924c98f91c1281c54cbdcb01ae9..4448f91b865c10a48933a6a8d1c4ea645266b90c 100644 (file)
@@ -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