telemetry: use log function from pointer
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 25 Mar 2021 13:57:04 +0000 (13:57 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 25 Mar 2021 16:35:10 +0000 (17:35 +0100)
commit37b881a96194a187a6e286f49bae481a0c4dd2bd
treea2610776f854a2aae170e6438e0a5ee7ac39ab9d
parentc8c3cfd699a117cf8c070059a606ea12ab030cbb
telemetry: use log function from pointer

Rather than passing back an error string to the caller, take as input the
rte_log function to use, and just use regular logging.

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