[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

[dpdk-dev] [PATCH v3] 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. After uninit latency, it can 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. Signed-off-by: junka

[dpdk-dev] [PATCH v2] 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. After uninit latency, it can 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. Signed-off-by: junka