Skip to content

Commit

Permalink
fixes to metrictracer to enable loader code generation
Browse files Browse the repository at this point in the history
Signed-off-by: B.G, Pradeep <pradeep.b.g@intel.com>
  • Loading branch information
pbg-intel committed Sep 6, 2024
1 parent 79172e7 commit c850819
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions scripts/tools/metricProgrammable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -424,16 +424,16 @@ params:
name: pDescription
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."
- type: "uint32_t *"
name: metricGroupCount
name: pMetricGroupCount
desc: |
[in,out] pointer to the number of metric group handles to be created.
if metricGroupCount is zero, then the driver shall update the value with the maximum possible number of metric group handles that could be created.
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.
if metricGroupCount is lesser than the number of metric group handles that could be created, then $X_RESULT_ERROR_INVALID_ARGUMENT is returned.
if pMetricGroupCount is zero, then the driver shall update the value with the maximum possible number of metric group handles that could be created.
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.
if pMetricGroupCount is lesser than the number of metric group handles that could be created, then $X_RESULT_ERROR_INVALID_ARGUMENT is returned.
- type: $t_metric_group_handle_t*
name: phMetricGroup
desc: |
[in,out][optional][range(0, metricGroupCount)] array of handle of metric group handles.
[in,out][optional][range(0, *pMetricGroupCount)] array of handle of metric group handles.
Created Metric group handles.
returns:
- $X_RESULT_ERROR_INVALID_ARGUMENT:
Expand Down
2 changes: 1 addition & 1 deletion scripts/tools/metricTracer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ params:
value with the actual number of decodable metrics available.
- type: $t_metric_handle_t*
name: phMetrics
desc: "[in,out] [range(0, pCount)] array of handles of decodable metrics in the hMetricDecoder handle provided."
desc: "[in,out] [range(0, *pCount)] array of handles of decodable metrics in the hMetricDecoder handle provided."
--- #--------------------------------------------------------------------------
type: function
desc: "Decode raw events collected from a tracer."
Expand Down

0 comments on commit c850819

Please sign in to comment.