eal: add telemetry as dependency
authorCiara Power <ciara.power@intel.com>
Thu, 30 Apr 2020 16:01:34 +0000 (17:01 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 10 May 2020 22:37:16 +0000 (00:37 +0200)
commiteeb486f3ba651b594506427e0c67dcf31730183a
tree83b831580714526f0b302cde43715f7f27d5bc98
parent63e7cb1bf175077dbe8eb361af265936e779957f
eal: add telemetry as dependency

This patch moves telemetry further down the build, and adds it as a
dependency for EAL. Telemetry V2 is now configured to build by default,
and the legacy support is built when the telemetry config flag is set.

Telemetry now has EAL flags, shown below:
"--telemetry" = Enables telemetry (this is default if no flags given)
"--no-telemetry" = Disables telemetry

When telemetry is enabled, it will attempt to open the new socket
version, and also the legacy support socket (this will depend on Jansson
external dependency and telemetry config flag, as before).

Signed-off-by: Ciara Power <ciara.power@intel.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Keith Wiles <keith.wiles@intel.com>
27 files changed:
config/common_base
examples/l3fwd-power/Makefile
examples/l3fwd-power/main.c
examples/l3fwd-power/meson.build
lib/Makefile
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_internal_cfg.h
lib/librte_eal/common/eal_options.h
lib/librte_eal/freebsd/Makefile
lib/librte_eal/freebsd/eal.c
lib/librte_eal/freebsd/meson.build
lib/librte_eal/linux/Makefile
lib/librte_eal/linux/eal.c
lib/librte_eal/linux/meson.build
lib/librte_eal/meson.build
lib/librte_ethdev/Makefile
lib/librte_ethdev/meson.build
lib/librte_ethdev/rte_ethdev.c
lib/librte_rawdev/Makefile
lib/librte_rawdev/meson.build
lib/librte_rawdev/rte_rawdev.c
lib/librte_telemetry/Makefile
lib/librte_telemetry/meson.build
lib/librte_telemetry/rte_telemetry.h
lib/librte_telemetry/telemetry.c
lib/meson.build
mk/rte.app.mk