kernel: add a config option for enabling /proc/slabinfo
authorFelix Fietkau <nbd@openwrt.org>
Sun, 25 May 2014 22:39:54 +0000 (22:39 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 25 May 2014 22:39:54 +0000 (22:39 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 40858

config/Config-kernel.in

index 543b638f65157ed31ae88ab3e4011403506d4f4a..e64c4b775237e69a274c6c60fcf1b1a496fa5a49 100644 (file)
@@ -134,6 +134,17 @@ config KERNEL_PRINTK_TIME
        bool "Enable printk timestamps"
        default y
 
+config KERNEL_SLUB_DEBUG
+       bool
+
+config KERNEL_SLUB_DEBUG_ON
+       bool
+
+config KERNEL_SLABINFO
+       select KERNEL_SLUB_DEBUG
+       select KERNEL_SLUB_DEBUG_ON
+       bool "Enable /proc slab debug info"
+
 config KERNEL_PROC_PAGE_MONITOR
        bool "Enable /proc page monitoring"