intelrdt: Add Cache Monitoring Technology stats

Signed-off-by: Paweł Szulik <pawel.szulik@intel.com>
This commit is contained in:
Paweł Szulik
2020-04-15 21:18:41 +02:00
parent d1e4c7b803
commit 799d94818d
10 changed files with 335 additions and 170 deletions
+4 -1
View File
@@ -161,9 +161,12 @@ func convertLibcontainerStats(ls *libcontainer.Stats) *types.Stats {
s.IntelRdt.MemBwSchemaRoot = is.MemBwSchemaRoot
s.IntelRdt.MemBwSchema = is.MemBwSchema
}
if intelrdt.IsMbmEnabled() {
if intelrdt.IsMBMEnabled() {
s.IntelRdt.MBMStats = is.MBMStats
}
if intelrdt.IsCMTEnabled() {
s.IntelRdt.CMTStats = is.CMTStats
}
}
s.NetworkInterfaces = ls.Interfaces