numam-dpdk/lib/librte_telemetry
Ciara Power c933bb5177 telemetry: support array values in data object
Arrays of type uint64_t/int/string can now be included within an array
or dict. One level of embedded containers is supported. This is
necessary to allow for instances such as the ethdev queue stats to be
reported as a list of uint64_t values, rather than having multiple dict
entries with one uint64_t value for each queue stat.

The memory management APIs provided by telemetry simplify the memory
allocation/free aspect of the embedded container. The rte_tel_data_alloc
function is called in the library/app callback to return a pointer to a
container that has been allocated memory. When adding this container
to an array/dict, a parameter is passed to indicate if the memory
should be freed by telemetry after use. This will allow reuse of the
allocated memory if the library/app wishes to do so.

Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2020-10-06 22:55:00 +02:00
..
meson.build eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00
rte_telemetry_legacy.h telemetry: introduce backward compatibility 2020-05-11 00:37:15 +02:00
rte_telemetry_version.map telemetry: support array values in data object 2020-10-06 22:55:00 +02:00
rte_telemetry.h telemetry: support array values in data object 2020-10-06 22:55:00 +02:00
telemetry_data.c telemetry: support array values in data object 2020-10-06 22:55:00 +02:00
telemetry_data.h telemetry: support array values in data object 2020-10-06 22:55:00 +02:00
telemetry_json.h telemetry: support array values in data object 2020-10-06 22:55:00 +02:00
telemetry_legacy.c telemetry: build stubs on Windows 2020-09-11 01:55:35 +02:00
telemetry.c telemetry: support array values in data object 2020-10-06 22:55:00 +02:00