forked from TencentOS/TencentOS-kernel
currently, /proc/stat displays cpu usage for real cpu, add support to display cpu usage based on cpuacct, online file on cgroupfs is changed to display cpu count minimum of cpuset and cpuacct. sysctl cgroupfs_stat_show_cpuacct_info is used to start this feature. Signed-off-by: caelli <caelli@tencent.com> Reviewed-by: Bin Lai <robinlai@tencent.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| cgroupfs.h | ||
| mount.c | ||
| proc.c | ||
| sys.c | ||