lcr/0010-fix-memory-usage-of-stats-not-right-when-runtime-is-.patch
WangFengTu dd412f0344 lcr: sync patches from upstream
Signed-off-by: WangFengTu <wangfengtu@huawei.com>
2021-05-18 14:22:02 +08:00

34 lines
1.2 KiB
Diff

From e63b4e066c79caaab65db5bbb04f9c72aac399df Mon Sep 17 00:00:00 2001
From: WangFengTu <wangfengtu@huawei.com>
Date: Wed, 12 May 2021 10:54:57 +0800
Subject: [PATCH 10/10] fix memory usage of stats not right when runtime is
kata
Signed-off-by: WangFengTu <wangfengtu@huawei.com>
---
src/json/schema/shim/client/runtime-stats.json | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/json/schema/shim/client/runtime-stats.json b/src/json/schema/shim/client/runtime-stats.json
index 707e58e..6ed9473 100644
--- a/src/json/schema/shim/client/runtime-stats.json
+++ b/src/json/schema/shim/client/runtime-stats.json
@@ -45,6 +45,14 @@
"$ref": "../../defs.json#/definitions/uint64"
}
}
+ },
+ "raw": {
+ "type": "object",
+ "properties": {
+ "total_inactive_file": {
+ "$ref": "../../defs.json#/definitions/uint64"
+ }
+ }
}
}
}
--
2.25.1