diff options
author | Kenneth W. Chen <kenneth.w.chen@intel.com> | 2004-10-19 18:42:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-19 18:42:41 -0700 |
commit | 58d38e33ff609ea42c54a334f0d381715ddb2df7 (patch) | |
tree | 65539f04af6ca0852aa089b4d54b669fc94fdcc0 /lib | |
parent | 1a5c3ffda4cc86b7986fd8c216d1f28961d4eeb4 (diff) | |
download | history-58d38e33ff609ea42c54a334f0d381715ddb2df7.tar.gz |
[PATCH] Enable config_schedstats for all arches
Config option CONFIG_SCHEDSTATS is currently enabled via arch specific
Kconfig.debug. Only x86 and ppc arches has code to turn it on. Why not
put it in generic lib/Kconfig.debug so it is done once to enable everyone?
Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index cd5d8596223bca..8c147cddbbda12 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -28,6 +28,18 @@ config MAGIC_SYSRQ Enables console device to interpret special characters as commands to dump state information. +config SCHEDSTATS + bool "Collect scheduler statistics" + depends on DEBUG_KERNEL && PROC_FS + help + If you say Y here, additional code will be inserted into the + scheduler and related routines to collect statistics about + scheduler behavior and provide them in /proc/schedstat. These + stats may be useful for both tuning and debugging the scheduler + If you aren't debugging the scheduler or trying to tune a specific + application, you can say N to avoid the very slight overhead + this adds. + config DEBUG_SLAB bool "Debug memory allocations" depends on DEBUG_KERNEL && (ALPHA || ARM || X86 || IA64 || M68K || MIPS || PARISC || PPC32 || PPC64 || ARCH_S390 || SPARC32 || SPARC64 || USERMODE || X86_64) |