30 lines
576 B
YAML
30 lines
576 B
YAML
# Copyright (c) 2023 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
{{- if .Values.perf_events }}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: cadvisor-perf-events
|
|
labels:
|
|
{{- include "cadvisor.labels" . | nindent 4 }}
|
|
data:
|
|
cadvisor_perf_events.json: |
|
|
{
|
|
"core": {
|
|
"events": [
|
|
"INST_RETIRED.ANY"
|
|
],
|
|
"custom_events": [
|
|
{
|
|
"config": [
|
|
"0xc0"
|
|
],
|
|
"name": "INST_RETIRED.ANY",
|
|
"type": 4
|
|
}
|
|
]
|
|
}
|
|
}
|
|
{{- end }} |