Pressure metrics are already recorded and exposed in procfs for the entire system, but any tool which monitors cgroup pressure has to special case the root cgroup to read from procfs. This patch exposes the already recorded pressure metrics on the root cgroup.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -12,6 +12,7 @@ struct css_set; · 11 unmodified lines | ||
| 12 | 12 | #ifdef CONFIG_PSI |
| 13 | 13 | |
| 14 | 14 | extern struct static_key_false psi_disabled; |
| 15 | +extern struct psi_group psi_system; | |
| 15 | 16 | |
| 16 | 17 | void psi_init(void); |
| 17 | 18 | |