numam-dpdk/lib/librte_metrics
Remy Horton 219731302a metrics: disallow null as metric name
This patch adds a sanity check so that names passed into
rte_metrics_reg_names() and the wrapper rte_metrics_reg_name()
cannot be NULL.

Fixes: 349950ddb9 ("metrics: add information metrics library")
Cc: stable@dpdk.org

Signed-off-by: Remy Horton <remy.horton@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-07-26 20:30:18 +02:00
..
Makefile lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_metrics_version.map metrics: add information metrics library 2017-04-05 17:58:51 +02:00
rte_metrics.c metrics: disallow null as metric name 2018-07-26 20:30:18 +02:00
rte_metrics.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00