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 <tho...@monjalon.net> --- lib/librte_eal/freebsd/eal.c | 2 +- lib/librte_eal/linux/eal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/freebsd/eal.c b/lib/librte_eal/freebsd/eal.c index e2cdad5283..afbbb1c523 100644 --- a/lib/librte_eal/freebsd/eal.c +++ b/lib/librte_eal/freebsd/eal.c @@ -949,7 +949,7 @@ rte_eal_init(int argc, char **argv) return -1; } if (error_str != NULL) - RTE_LOG(NOTICE, EAL, "%s\n", error_str); + RTE_LOG(NOTICE, EAL, "telemetry: %s\n", error_str); } eal_mcfg_complete(); diff --git a/lib/librte_eal/linux/eal.c b/lib/librte_eal/linux/eal.c index 6c34ac8903..bc966150a5 100644 --- a/lib/librte_eal/linux/eal.c +++ b/lib/librte_eal/linux/eal.c @@ -1322,7 +1322,7 @@ rte_eal_init(int argc, char **argv) return -1; } if (error_str != NULL) - RTE_LOG(NOTICE, EAL, "%s\n", error_str); + RTE_LOG(NOTICE, EAL, "telemetry: %s\n", error_str); } eal_mcfg_complete(); -- 2.30.1