git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa43ac7
)
doc: fix metrics example
author
Yong Wang
<wang.yong19@zte.com.cn>
Tue, 18 Jul 2017 12:03:07 +0000
(08:03 -0400)
committer
Thomas Monjalon
<thomas@monjalon.net>
Wed, 19 Jul 2017 21:06:07 +0000
(
00:06
+0300)
Signed-off-by: Yong Wang <wang.yong19@zte.com.cn>
Acked-by: Remy Horton <remy.horton@intel.com>
doc/guides/prog_guide/metrics_lib.rst
patch
|
blob
|
history
diff --git
a/doc/guides/prog_guide/metrics_lib.rst
b/doc/guides/prog_guide/metrics_lib.rst
index
702c29d
..
d52204f
100644
(file)
--- 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;