diff options
author | 2024-08-30 10:02:20 +0000 | |
---|---|---|
committer | 2024-08-30 10:00:15 -1000 | |
commit | 49434094efbbe360dd7fcf934fef239a01a95bb7 (patch) | |
tree | 371053efbf9993ad3ecec61ffa7ceeff62a69980 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cgroup/cpuset: move common code to cpuset-internal.h (diff) | |
download | wireguard-linux-49434094efbbe360dd7fcf934fef239a01a95bb7.tar.xz wireguard-linux-49434094efbbe360dd7fcf934fef239a01a95bb7.zip |
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 <chenridong@huawei.com>
Acked-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions