numam-dpdk/lib/librte_metrics
Jerin Jacob 9c99878aa1 log: introduce logtype register macro
Introduce the RTE_LOG_REGISTER macro to avoid the code duplication
in the logtype registration process.

It is a wrapper macro for declaring the logtype, registering it and
setting its level in the constructor context.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Sachin Saxena <sachin.saxena@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2020-07-03 15:52:51 +02:00
..
Makefile telemetry: invert dependency on metrics library 2020-05-10 23:52:00 +02:00
meson.build telemetry: invert dependency on metrics library 2020-05-10 23:52:00 +02:00
rte_metrics_telemetry.c log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
rte_metrics_telemetry.h metrics: reduce telemetry code 2020-05-10 23:50:32 +02:00
rte_metrics_version.map telemetry: move some functions to metrics library 2020-05-10 23:46:18 +02:00
rte_metrics.c metrics: fix library cleanup 2020-05-19 14:05:21 +02:00
rte_metrics.h telemetry: invert dependency on metrics library 2020-05-10 23:52:00 +02:00