02/07/2018 16:55, Remy Horton: > If rte_metrics_init() had not been called and hence the internal > metric storage is not allocated, rte_metrics_get_values() and > rte_metrics_get_name() would silently fail by returning zero > (i.e. no metrics registered). This patch changes the result of > this scenario to an explicit fail by returning -EIO. > > Fixes: 349950ddb9c5 ("metrics: add information metrics library") > > Signed-off-by: Remy Horton <remy.hor...@intel.com>
Applied, thanks