Skip to content

Commit 383cadb

Browse files
authored
Merge pull request #1290 from marquiz/devel/rdt-features-monitoring
features-linux: expose IntelRdt monitoring support
2 parents cabadbc + 0758679 commit 383cadb

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

features-linux.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,16 @@ Irrelevant to the availability of Intel RDT on the host operating system.
234234
* **`enabled`** (bool, OPTIONAL) represents whether the runtime supports Intel RDT.
235235
* **`schemata`** (bool, OPTIONAL) represents whether the
236236
(`schemata` field of `linux.intelRdt` in `config.json`)[config-linux.md#intelrdt] is supported.
237+
* **`monitoring`** (bool, OPTIONAL) represents whether the
238+
(`enableMonitoring` field of `linux.intelRdt` in `config.json`)[config-linux.md#intelrdt] is supported.
237239

238240
### Example
239241

240242
```json
241243
"intelRdt": {
242244
"enabled": true,
243-
"schemata": true
245+
"schemata": true,
246+
"monitoring": true
244247
}
245248
```
246249

features.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ Here is a full example for reference.
372372
},
373373
"intelRdt": {
374374
"enabled": true,
375-
"schemata": true
375+
"schemata": true,
376+
"monitoring": true
376377
}
377378
},
378379
"annotations": {

specs-go/features/features.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ type IntelRdt struct {
134134
// Schemata is true if the "linux.intelRdt.enableMonitoring" field of the
135135
// spec is implemented.
136136
Schemata *bool `json:"schemata,omitempty"`
137+
// Monitoring is true if the "linux.intelRdt.enableMonitoring" field of the
138+
// spec is implemented.
139+
// Nil value means "unknown", not "false".
140+
Monitoring *bool `json:"monitoring,omitempty"`
137141
}
138142

139143
// MemoryPolicy represents the "memoryPolicy" field.

0 commit comments

Comments
 (0)