telemetry: invert dependency on metrics library
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 30 Apr 2020 16:01:23 +0000 (17:01 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 10 May 2020 21:52:00 +0000 (23:52 +0200)
commit07c1b6925b6592191b4959caa1bc2a847e36665a
tree2ba4473c3b97fe1bec62d5e1202496ec6b8e8ebc
parentbb8f5fc31766301f45c03448c0479f187abfbf3e
telemetry: invert dependency on metrics library

Rather than having the telemetry library depend on the metrics
lib we invert the dependency so that metrics instead depends
on telemetry lib, and registers the needed functions with it
at init time. This prepares the way for a cleaner telemetry
architecture to be applied in later patches.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Keith Wiles <keith.wiles@intel.com>
14 files changed:
lib/Makefile
lib/librte_metrics/Makefile
lib/librte_metrics/meson.build
lib/librte_metrics/rte_metrics.c
lib/librte_metrics/rte_metrics.h
lib/librte_metrics/rte_metrics_telemetry.c
lib/librte_telemetry/Makefile
lib/librte_telemetry/meson.build
lib/librte_telemetry/rte_telemetry.c
lib/librte_telemetry/rte_telemetry_internal.h
lib/librte_telemetry/rte_telemetry_parser.c
lib/librte_telemetry/rte_telemetry_version.map
lib/meson.build
mk/rte.app.mk