diff --git a/init/Kconfig b/init/Kconfig index e5446705f5d738d003d2d28eb11942d23f57c1a4..b8a1c8ddbaa5f86483d35a23dcbdc2c2e6dd6a2a 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -908,6 +908,20 @@ config CGROUP_DEVICE Provides a cgroup controller implementing whitelists for devices which a process in the cgroup can mknod or open. +config SCHED_SLI + bool "cgroup CPU usage and additional scheduler statistics" + depends on CGROUP_CPUACCT + default Y + help + This accounts CPU time spent by tasks in a cgroup into "usr%" "sys%" + "idle" "steal%" "irq%" "softirq%" "guest%". And this exports + nr_migrations, nr_running, nr_uninterruptible of a cgroup. + + The corresponding interface is cpuacct.proc_stat. + + Note CPU usage requires cpuacct and cpu cgroup subsys to be mounted + together to take effect. + config CGROUP_CPUACCT bool "Simple CPU accounting controller" help