Skip to content

Commit 03441d8

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 671469d commit 03441d8

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

scripts/tools/metric.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -114,29 +114,34 @@ etors:
114114
desc: "Metric type: ratio"
115115
- name: RAW
116116
desc: "Metric type: raw"
117-
- name: IP_EXP
118-
desc:
119-
"1.6": "Metric type: instruction pointer"
120-
"1.7": "Metric type: instruction pointer. Deprecated, use $T_METRIC_TYPE_IP."
121-
- name: IP
122-
desc: "Metric type: instruction pointer"
123-
version: "1.7"
124117
- name: EVENT_EXP_TIMESTAMP
125118
desc: "Metric type: event with only timestamp and value has no meaning"
126119
version: "1.10"
120+
value: "0x7ffffff9"
127121
- name: EVENT_EXP_START
128122
desc: "Metric type: the first event of a start/end event pair"
129123
version: "1.10"
124+
value: "0x7ffffffa"
130125
- name: EVENT_EXP_END
131126
desc: "Metric type: the second event of a start/end event pair"
132127
version: "1.10"
133-
- name: EXPORT_DMA_BUF
134-
desc: "Metric which exports linux dma_buf, which could be imported/mapped to the host process"
135-
version: "1.11"
136-
value: "0x7ffffffd"
128+
value: "0x7ffffffb"
137129
- name: EVENT_EXP_MONOTONIC_WRAPS_VALUE
138130
desc: "Metric type: value of the event is a monotonically increasing value that can wrap around"
139131
version: "1.10"
132+
value: "0x7ffffffc"
133+
- name: EXPORT_DMA_BUF_EXP
134+
desc: "Metric which exports linux dma_buf, which could be imported/mapped to the host process"
135+
version: "1.11"
136+
value: "0x7ffffffd"
137+
- name: IP_EXP
138+
desc:
139+
"1.6": "Metric type: instruction pointer"
140+
"1.7": "Metric type: instruction pointer. Deprecated, use $T_METRIC_TYPE_IP."
141+
value: "0x7ffffffe"
142+
- name: IP
143+
desc: "Metric type: instruction pointer"
144+
version: "1.7"
140145
value: "0x7ffffffe"
141146
--- #--------------------------------------------------------------------------
142147
type: enum

0 commit comments

Comments
 (0)