From c17c27e8585deba739ce018b967544743a824c41 Mon Sep 17 00:00:00 2001 From: Yong Wang Date: Tue, 18 Jul 2017 08:03:07 -0400 Subject: [PATCH] doc: fix metrics example Signed-off-by: Yong Wang Acked-by: Remy Horton --- 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 702c29d94b..d52204fddd 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; -- 2.20.1