telemetry: fix init log printing
authorCiara Power <ciara.power@intel.com>
Fri, 22 May 2020 13:48:39 +0000 (14:48 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 24 May 2020 16:01:31 +0000 (18:01 +0200)
commit61d6c7a98b48da02d905a45fa6314befcc567ff4
tree5b2532db0760f19a946fc28c7264345cb4573d01
parentdd8384a4f5dd7e04cd3bc7ded0f0a6d9c79d25b4
telemetry: fix init log printing

Initially, printf was used to indicate and error/warning resulting from
telemetry initialisation. This is now fixed to use EAL logs for
notices, and the unnecessary printf for an error is removed.

Fixes: eeb486f3ba65 ("eal: add telemetry as dependency")
Fixes: dd6275a424ac ("telemetry: fix error log output")

Signed-off-by: Ciara Power <ciara.power@intel.com>
Reviewed-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
lib/librte_eal/freebsd/eal.c
lib/librte_eal/linux/eal.c
lib/librte_telemetry/rte_telemetry.h
lib/librte_telemetry/telemetry.c