Re: [dpdk-dev] [PATCH v4] lib/metrics: add unregister api for metrics

2019-02-26 Thread Remy Horton
This patch has checkpatch errors that will need to be fixed: ERROR:SPACING: space prohibited before that close parenthesis ')' #179: FILE: lib/librte_metrics/rte_metrics.c:233: + if (count < 1 ) ERROR:TRAILING_WHITESPACE: trailing whitespace #242: FILE: lib/librte_metrics/rte_metrics.c:298

[dpdk-dev] [PATCH v4] lib/metrics: add unregister api for metrics

2019-02-22 Thread wanjunjie
From: junka The bitmap will help maintain the metrics. We can dynamically add and remove metrics data. For example, after uninit latency lib, it could remove itself from the metrics. This could make the result from rte_metrics_get_names much more simple to display the wanted metrics data only. S