[LTP] [PATCH v2 2/5] API/cgroup: Add memory.stat
Richard Palethorpe
rpalethorpe@suse.com
Thu Dec 30 11:37:15 CET 2021
Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
---
lib/tst_cgroup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/tst_cgroup.c b/lib/tst_cgroup.c
index c78f28112..2ef599d9e 100644
--- a/lib/tst_cgroup.c
+++ b/lib/tst_cgroup.c
@@ -153,6 +153,7 @@ static const struct cgroup_file cgroup_ctrl_files[] = {
static const struct cgroup_file memory_ctrl_files[] = {
{ "memory.current", "memory.usage_in_bytes", CTRL_MEMORY },
{ "memory.max", "memory.limit_in_bytes", CTRL_MEMORY },
+ { "memory.stat", "memory.stat", CTRL_MEMORY },
{ "memory.swappiness", "memory.swappiness", CTRL_MEMORY },
{ "memory.swap.current", "memory.memsw.usage_in_bytes", CTRL_MEMORY },
{ "memory.swap.max", "memory.memsw.limit_in_bytes", CTRL_MEMORY },
--
2.34.0
More information about the ltp
mailing list