DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc/metrics: fix variable undefined error
@ 2017-07-18 12:03 Yong Wang
  2017-07-18 13:10 ` Remy Horton
  0 siblings, 1 reply; 3+ messages in thread
From: Yong Wang @ 2017-07-18 12:03 UTC (permalink / raw)
  To: john.mcnamara, remy.horton; +Cc: dev, Yong Wang

Signed-off-by: Yong Wang <wang.yong19@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-07-19 21:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-18 12:03 [dpdk-dev] [PATCH] doc/metrics: fix variable undefined error Yong Wang
2017-07-18 13:10 ` Remy Horton
2017-07-19 21:09   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).