mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
libcontainer/intelrdt: add support for EnableMonitoring field
The linux.intelRdt.enableMonitoring field enables the creation of a per-container monitoring group. The monitoring group is removed when the container is destroyed. Signed-off-by: Markus Lehtonen <markus.lehtonen@intel.com>
This commit is contained in:
@@ -462,10 +462,11 @@ func CreateLibcontainerConfig(opts *CreateOpts) (*configs.Config, error) {
|
||||
}
|
||||
if spec.Linux.IntelRdt != nil {
|
||||
config.IntelRdt = &configs.IntelRdt{
|
||||
ClosID: spec.Linux.IntelRdt.ClosID,
|
||||
Schemata: spec.Linux.IntelRdt.Schemata,
|
||||
L3CacheSchema: spec.Linux.IntelRdt.L3CacheSchema,
|
||||
MemBwSchema: spec.Linux.IntelRdt.MemBwSchema,
|
||||
ClosID: spec.Linux.IntelRdt.ClosID,
|
||||
Schemata: spec.Linux.IntelRdt.Schemata,
|
||||
L3CacheSchema: spec.Linux.IntelRdt.L3CacheSchema,
|
||||
MemBwSchema: spec.Linux.IntelRdt.MemBwSchema,
|
||||
EnableMonitoring: spec.Linux.IntelRdt.EnableMonitoring,
|
||||
}
|
||||
}
|
||||
if spec.Linux.Personality != nil {
|
||||
|
||||
Reference in New Issue
Block a user