kernel: add a config option for enabling /proc/slabinfo
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 25 May 2014 22:39:54 +0000 (22:39 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 25 May 2014 22:39:54 +0000 (22:39 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40858 3c298f89-4303-0410-b956-a3cf2f4a3e73

config/Config-kernel.in

index 543b638..e64c4b7 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"