Skip to content

Commit c850819

Browse files
committed
fixes to metrictracer to enable loader code generation
Signed-off-by: B.G, Pradeep <[email protected]>
1 parent 79172e7 commit c850819

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

scripts/tools/metricProgrammable.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -424,16 +424,16 @@ params:
424424
name: pDescription
425425
desc: "[in] pointer to description of the metric groups. Must point to a null-terminated character array no longer than $T_MAX_METRIC_GROUP_DESCRIPTION."
426426
- type: "uint32_t *"
427-
name: metricGroupCount
427+
name: pMetricGroupCount
428428
desc: |
429429
[in,out] pointer to the number of metric group handles to be created.
430-
if metricGroupCount is zero, then the driver shall update the value with the maximum possible number of metric group handles that could be created.
431-
if metricGroupCount is greater than the number of metric group handles that could be created, then the driver shall update the value with the correct number of metric group handles generated.
432-
if metricGroupCount is lesser than the number of metric group handles that could be created, then $X_RESULT_ERROR_INVALID_ARGUMENT is returned.
430+
if pMetricGroupCount is zero, then the driver shall update the value with the maximum possible number of metric group handles that could be created.
431+
if pMetricGroupCount is greater than the number of metric group handles that could be created, then the driver shall update the value with the correct number of metric group handles generated.
432+
if pMetricGroupCount is lesser than the number of metric group handles that could be created, then $X_RESULT_ERROR_INVALID_ARGUMENT is returned.
433433
- type: $t_metric_group_handle_t*
434434
name: phMetricGroup
435435
desc: |
436-
[in,out][optional][range(0, metricGroupCount)] array of handle of metric group handles.
436+
[in,out][optional][range(0, *pMetricGroupCount)] array of handle of metric group handles.
437437
Created Metric group handles.
438438
returns:
439439
- $X_RESULT_ERROR_INVALID_ARGUMENT:

scripts/tools/metricTracer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ params:
237237
value with the actual number of decodable metrics available.
238238
- type: $t_metric_handle_t*
239239
name: phMetrics
240-
desc: "[in,out] [range(0, pCount)] array of handles of decodable metrics in the hMetricDecoder handle provided."
240+
desc: "[in,out] [range(0, *pCount)] array of handles of decodable metrics in the hMetricDecoder handle provided."
241241
--- #--------------------------------------------------------------------------
242242
type: function
243243
desc: "Decode raw events collected from a tracer."

0 commit comments

Comments
 (0)