eeb486f3ba
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>
19 lines
491 B
Meson
19 lines
491 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 Intel Corporation
|
|
|
|
# meson file, for building this example as part of a main DPDK build.
|
|
#
|
|
# To build this example as a standalone application with an already-installed
|
|
# DPDK instance, use 'make'
|
|
|
|
if not dpdk_conf.has('RTE_LIBRTE_POWER')
|
|
build = false
|
|
subdir_done()
|
|
endif
|
|
|
|
allow_experimental_apis = true
|
|
deps += ['power', 'timer', 'lpm', 'hash', 'metrics', 'telemetry']
|
|
sources = files(
|
|
'main.c', 'perf_core.c'
|
|
)
|