[dpdk-dev] [PATCH] eal: prefix telemetry initialization message

Bruce Richardson bruce.richardson at intel.com
Tue Mar 9 15:03:55 CET 2021


On Tue, Mar 09, 2021 at 10:59:52AM +0000, Bruce Richardson wrote:
> On Mon, Mar 08, 2021 at 11:23:38PM +0100, Thomas Monjalon wrote:
> > If the telemetry library initialization has some issue,
> > the error message is returned in a string
> > (to avoid circular dependency with EAL log system).
> > 
> > In order to make clear where the message comes from,
> > a prefix is added.
> > Before:   EAL: message
> > After:    EAL: telemetry: message
> > 
> > Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> > ---
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>

By the way, I have a nearly completed patch for the telemetry library to
switch it to doing its own logging instead of passing back a string. It
does require a function pointer to rte_log to be passed to the init call,
but thereafter things are pretty normal in it and simplifies things. I'll
send it on as soon as it is ready.

/Bruce


More information about the dev mailing list