From: Yong Wang Date: Tue, 18 Jul 2017 12:03:07 +0000 (-0400) Subject: doc: fix metrics example X-Git-Tag: spdx-start~2471 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c17c27e8585deba739ce018b967544743a824c41;p=dpdk.git doc: fix metrics example Signed-off-by: Yong Wang Acked-by: Remy Horton --- 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;