Skip to content

Commit dd1dd1d

Browse files
matcabralnrspruit
authored andcommitted
Fix metric types for new experimental types
Fix order and values of experimental metrics types Signed-off-by: Matias Cabral <[email protected]>
1 parent 03441d8 commit dd1dd1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/tools/EXT_Exp_MetricExportMemory.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The following pseudo-code demonstrates how to map memory exported by metrics:
7878
metricProperties.stype = ${T}_STRUCTURE_TYPE_METRIC_PROPERTIES;
7979
zetMetricGetProperties(hMetric, &metricProperties);
8080
81-
if(metricProperties.metricType == ZET_METRIC_TYPE_EXPORT_DMA_BUF){
81+
if(metricProperties.metricType == ZET_METRIC_TYPE_EXP_EXPORT_DMA_BUF){
8282
zet_export_dma_buf_exp_properties_t dmaBufProperties;
8383
dmaBufProperties.stype = ${T}_STRUCTURE_TYPE_EXPORT_DMA_EXP_PROPERTIES;
8484
metricProperties.pNext = &dmaBufProperties;

scripts/tools/metric.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ etors:
130130
desc: "Metric type: value of the event is a monotonically increasing value that can wrap around"
131131
version: "1.10"
132132
value: "0x7ffffffc"
133-
- name: EXPORT_DMA_BUF_EXP
133+
- name: EXP_EXPORT_DMA_BUF
134134
desc: "Metric which exports linux dma_buf, which could be imported/mapped to the host process"
135135
version: "1.11"
136136
value: "0x7ffffffd"

0 commit comments

Comments
 (0)