aboutsummaryrefslogtreecommitdiffstats
path: root/lib/librte_metrics/rte_metrics.h
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2017-09-21 11:34:38 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2017-09-21 11:39:58 +0200
commit7555c20f2c2df8dbcf648e97a7005966048a0353 (patch)
tree82ba7f8a42a9a823118864cb46f4932f4bd2d9b9 /lib/librte_metrics/rte_metrics.h
parent76f89ef557ff345dfa606e797e1765404babce56 (diff)
Imported Upstream version 17.05.2
Change-Id: I562c7c338dad65639f764aea8b598ff6711acd54 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Diffstat (limited to 'lib/librte_metrics/rte_metrics.h')
-rw-r--r--lib/librte_metrics/rte_metrics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/librte_metrics/rte_metrics.h b/lib/librte_metrics/rte_metrics.h
index 0fa3104e..297300ad 100644
--- a/lib/librte_metrics/rte_metrics.h
+++ b/lib/librte_metrics/rte_metrics.h
@@ -118,7 +118,8 @@ void rte_metrics_init(int socket_id);
* is required for updating said metric's value.
*
* @param name
- * Metric name
+ * Metric name. If this exceeds RTE_METRICS_MAX_NAME_LEN (including
+ * the NULL terminator), it is truncated.
*
* @return
* - Zero or positive: Success (index key of new metric)