diff -purN -X /home/mbligh/.diff.exclude 340-schedstat/arch/ppc/Kconfig 345-schedstat_arches/arch/ppc/Kconfig --- 340-schedstat/arch/ppc/Kconfig 2003-12-11 17:16:52.000000000 -0800 +++ 345-schedstat_arches/arch/ppc/Kconfig 2003-12-11 17:27:45.000000000 -0800 @@ -1424,6 +1424,19 @@ config DEBUG_INFO debug the kernel. If you don't debug the kernel, you can say N. +config SCHEDSTATS + bool "Collect scheduler statistics" + depends on PROC_FS + default y + 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 BOOTX_TEXT bool "Support for early boot text console (BootX or OpenFirmware only)" depends PPC_OF diff -purN -X /home/mbligh/.diff.exclude 340-schedstat/arch/ppc64/Kconfig 345-schedstat_arches/arch/ppc64/Kconfig --- 340-schedstat/arch/ppc64/Kconfig 2003-12-11 17:27:26.000000000 -0800 +++ 345-schedstat_arches/arch/ppc64/Kconfig 2003-12-11 17:27:45.000000000 -0800 @@ -407,6 +407,19 @@ config DEBUG_INFO debugging info resulting in a larger kernel image. Say Y here only if you plan to use gdb to debug the kernel. If you don't debug the kernel, you can say N. + +config SCHEDSTATS + bool "Collect scheduler statistics" + depends on PROC_FS + default y + 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 MCOUNT bool "Generate function call graph" diff -purN -X /home/mbligh/.diff.exclude 340-schedstat/arch/x86_64/Kconfig 345-schedstat_arches/arch/x86_64/Kconfig --- 340-schedstat/arch/x86_64/Kconfig 2003-12-11 17:16:52.000000000 -0800 +++ 345-schedstat_arches/arch/x86_64/Kconfig 2003-12-11 17:27:45.000000000 -0800 @@ -525,7 +525,20 @@ config DEBUG_INFO debugging info resulting in a larger kernel image. Say Y here only if you plan to use gdb to debug the kernel. If you don't debug the kernel, you can say N. - + +config SCHEDSTATS + bool "Collect scheduler statistics" + depends on PROC_FS + default y + 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 FRAME_POINTER bool "Compile the kernel with frame pointers" help