doc: fix metrics example

Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Remy Horton <remy.horton@intel.com>
This commit is contained in:
Yong Wang 2017-07-18 08:03:07 -04:00 committed by Thomas Monjalon
parent fa43ac7729
commit c17c27e858

View File

@ -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;