File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,8 @@ func convertLibcontainerStats(ls *libcontainer.Stats) *types.Stats {
173173 if intelrdt .IsCMTEnabled () {
174174 s .IntelRdt .CMTStats = is .CMTStats
175175 }
176+
177+ s .IntelRdt .Schemata = is .Schemata
176178 }
177179
178180 s .NetworkInterfaces = ls .Interfaces
Original file line number Diff line number Diff line change @@ -524,6 +524,8 @@ func (m *Manager) GetStats() (*Stats, error) {
524524 }
525525 schemaStrings := strings .Split (tmpStrings , "\n " )
526526
527+ stats .Schemata = schemaStrings
528+
527529 if IsCATEnabled () {
528530 // The read-only L3 cache information
529531 l3CacheInfo , err := getL3CacheInfo ()
Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ type Stats struct {
4545 // The memory bandwidth schema in 'container_id' group
4646 MemBwSchema string `json:"mem_bw_schema,omitempty"`
4747
48+ // Schemata contains the full schemata of the ClosID (resctrl group) that the container is assigned to.
49+ Schemata []string `json:"schemata,omitempty"`
50+
4851 // The memory bandwidth monitoring statistics from NUMA nodes in 'container_id' group
4952 MBMStats * []MBMNumaNodeStats `json:"mbm_stats,omitempty"`
5053
Original file line number Diff line number Diff line change @@ -143,6 +143,9 @@ type IntelRdt struct {
143143 // The memory bandwidth schema in 'container_id' group
144144 MemBwSchema string `json:"mem_bw_schema,omitempty"`
145145
146+ // Schemata contains the full schemata of the ClosID (resctrl group) that the container is assigned to.
147+ Schemata []string `json:"schemata,omitempty"`
148+
146149 // The memory bandwidth monitoring statistics from NUMA nodes in 'container_id' group
147150 MBMStats * []intelrdt.MBMNumaNodeStats `json:"mbm_stats,omitempty"`
148151
You can’t perform that action at this time.
0 commit comments