telemetry: introduce infrastructure
authorCiara Power <ciara.power@intel.com>
Sat, 27 Oct 2018 09:17:41 +0000 (10:17 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 27 Oct 2018 13:18:20 +0000 (15:18 +0200)
commit8877ac688b5267c5edec38fbd07dfad0c993c020
treededbadfced20111a3486fe6ac2357b9b3e27b844
parent6911c9fd8fbec52f68e48515c0a1681fd0c8a25b
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>
13 files changed:
MAINTAINERS
config/common_base
doc/api/doxy-api-index.md
doc/api/doxy-api.conf.in
lib/Makefile
lib/librte_telemetry/Makefile [new file with mode: 0644]
lib/librte_telemetry/meson.build [new file with mode: 0644]
lib/librte_telemetry/rte_telemetry.c [new file with mode: 0644]
lib/librte_telemetry/rte_telemetry.h [new file with mode: 0644]
lib/librte_telemetry/rte_telemetry_internal.h [new file with mode: 0644]
lib/librte_telemetry/rte_telemetry_version.map [new file with mode: 0644]
lib/meson.build
mk/rte.app.mk