diff options
author | Chen Ridong <[email protected]> | 2024-08-30 10:02:20 +0000 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2024-08-30 10:00:15 -1000 |
commit | 49434094efbbe360dd7fcf934fef239a01a95bb7 (patch) | |
tree | 371053efbf9993ad3ecec61ffa7ceeff62a69980 /tools/perf/scripts/python/sctop.py | |
parent | 619a33efa0b0cd566f928d60d128033673e478cf (diff) |
cgroup/cpuset: move memory_pressure to cpuset-v1.c
Collection of memory_pressure can be enabled by writing 1 to the cpuset
file 'memory_pressure_enabled', which is only for cpuset-v1. Therefore,
move the corresponding code to cpuset-v1.c.
Currently, the 'fmeter_init' and 'fmeter_getrate' functions are called
at cpuset.c, so expose them to cpuset.c.
Signed-off-by: Chen Ridong <[email protected]>
Acked-by: Waiman Long <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions