summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorCiara Power <ciara.power@intel.com>2018-10-27 10:17:41 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-10-27 15:18:20 +0200
commit8877ac688b5267c5edec38fbd07dfad0c993c020 (patch)
treededbadfced20111a3486fe6ac2357b9b3e27b844 /mk
parent6911c9fd8fbec52f68e48515c0a1681fd0c8a25b (diff)
downloaddpdk-8877ac688b5267c5edec38fbd07dfad0c993c020.zip
dpdk-8877ac688b5267c5edec38fbd07dfad0c993c020.tar.gz
dpdk-8877ac688b5267c5edec38fbd07dfad0c993c020.tar.xz
telemetry: introduce infrastructure
This patch adds the infrastructure and initial code for the telemetry library. The telemetry init is registered with eal_init(). We can then check to see if --telemetry was passed as an eal option. If --telemetry was parsed, then we call telemetry init at the end of eal init. Control threads are used to get CPU cycles for telemetry, which are configured in this patch also. Signed-off-by: Ciara Power <ciara.power@intel.com> Signed-off-by: Brian Archbold <brian.archbold@intel.com> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com> Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/rte.app.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/rte.app.mk b/mk/rte.app.mk
index c0036da..39969f4 100644
--- a/mk/rte.app.mk
+++ b/mk/rte.app.mk
@@ -50,6 +50,9 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_LPM) += -lrte_lpm
_LDLIBS-$(CONFIG_RTE_LIBRTE_ACL) += --whole-archive
_LDLIBS-$(CONFIG_RTE_LIBRTE_ACL) += -lrte_acl
_LDLIBS-$(CONFIG_RTE_LIBRTE_ACL) += --no-whole-archive
+_LDLIBS-$(CONFIG_RTE_LIBRTE_TELEMETRY) += --whole-archive
+_LDLIBS-$(CONFIG_RTE_LIBRTE_TELEMETRY) += -lrte_telemetry
+_LDLIBS-$(CONFIG_RTE_LIBRTE_TELEMETRY) += --no-whole-archive
_LDLIBS-$(CONFIG_RTE_LIBRTE_JOBSTATS) += -lrte_jobstats
_LDLIBS-$(CONFIG_RTE_LIBRTE_METRICS) += -lrte_metrics
_LDLIBS-$(CONFIG_RTE_LIBRTE_BITRATE) += -lrte_bitratestats