Collect scheduler statistics

modulename: stats.ko

configname: CONFIG_SCHEDSTATS

Linux Kernel Configuration
└─>Kernel hacking
└─>Scheduler Debugging
└─>Collect scheduler statistics
In linux kernel since version 2.6.12  
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.

source code: