numam-dpdk/lib/librte_metrics
Harman Kalra 44dc7c0a26 metrics: add function to deinitialise library
Once the library usage is over, it must be deinitialized which
will free the shared memory reserved during initialization.

Observed an issue while running 'metrics_autotest' continuously
without quiting. For the first run 'metrics_autotest' passes
all test cases but second run onwards first test case fails
because metrics library is already initialized during first run.

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Remy Horton <remy.horton@intel.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
2019-07-16 12:45:30 +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 function to deinitialise library 2019-07-16 12:45:30 +02:00
rte_metrics.c metrics: add function to deinitialise library 2019-07-16 12:45:30 +02:00
rte_metrics.h metrics: add function to deinitialise library 2019-07-16 12:45:30 +02:00