Signed-off-by: Yong Wang <wang.yon...@zte.com.cn> --- doc/guides/prog_guide/metrics_lib.rst | 1 + 1 file changed, 1 insertion(+)
diff --git a/doc/guides/prog_guide/metrics_lib.rst b/doc/guides/prog_guide/metrics_lib.rst index 702c29d..d52204f 100644 --- a/doc/guides/prog_guide/metrics_lib.rst +++ b/doc/guides/prog_guide/metrics_lib.rst @@ -144,6 +144,7 @@ print out all metrics for a given port: .. code-block:: c void print_metrics() { + struct rte_metric_value *metrics; struct rte_metric_name *names; int len; -- 1.8.3.1