Broken by commit <901d2b9c87>.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
Pushed under build-breaker rule.
src/util/vircgroup.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
index 0ed83932ac..df38bb77e0 100644
--- a/src/util/vircgroup.c
+++ b/src/util/vircgroup.c
@@ -4335,6 +4335,21 @@ virCgroupSetMemory(virCgroupPtr group ATTRIBUTE_UNUSED,
}
+int
+virCgroupGetMemoryStat(virCgroupPtr group ATTRIBUTE_UNUSED,
+ unsigned long long *cache ATTRIBUTE_UNUSED,
+ unsigned long long *activeAnon ATTRIBUTE_UNUSED,
+ unsigned long long *inactiveAnon ATTRIBUTE_UNUSED,
+ unsigned long long *activeFile ATTRIBUTE_UNUSED,
+ unsigned long long *inactiveFile ATTRIBUTE_UNUSED,
+ unsigned long long *unevictable ATTRIBUTE_UNUSED)
+{
+ virReportSystemError(ENOSYS, "%s",
+ _("Control groups not supported on this platform"));
+ return -1;
+}
+
+
int
virCgroupGetMemoryUsage(virCgroupPtr group ATTRIBUTE_UNUSED,
unsigned long *kb ATTRIBUTE_UNUSED)
--
2.17.1