[PATCH] lib: remove duplicate prefix in logs
Power, Ciara
ciara.power at intel.com
Wed Jan 24 15:39:10 CET 2024
> -----Original Message-----
> From: David Marchand <david.marchand at redhat.com>
> Sent: Wednesday, January 24, 2024 12:05 PM
> To: dev at dpdk.org
> Cc: Thomas Monjalon <thomas at monjalon.net>; Chengwen Feng
> <fengchengwen at huawei.com>; Laatz, Kevin <kevin.laatz at intel.com>;
> Richardson, Bruce <bruce.richardson at intel.com>; Elena Agostini
> <eagostini at nvidia.com>; Jerin Jacob <jerinj at marvell.com>; Kiran Kumar K
> <kirankumark at marvell.com>; Nithin Dabilpuram
> <ndabilpuram at marvell.com>; Yan, Zhirun <zhirun.yan at intel.com>; Pavan
> Nikhilesh <pbhagavatula at marvell.com>; Power, Ciara
> <ciara.power at intel.com>; Maxime Coquelin
> <maxime.coquelin at redhat.com>; Chenbo Xia <chenbox at nvidia.com>;
> Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
> Subject: [PATCH] lib: remove duplicate prefix in logs
>
> RTE_LOG() macros prefixe the log messages based on the logtype.
> This results in logs like:
>
> TMTY: TELEMETRY: Attempting socket bind to path '/run/user/...'
> TMTY: TELEMETRY: Socket creation and binding ok
> TMTY: TELEMETRY: Telemetry initialized ok
>
> Remove redundancy in some libraries following their conversion to
> RTE_LOG/RTE_LOG_LINE.
>
> Fixes: 97433132c2ed ("lib: use per line logging in helpers")
> Fixes: 0e21c7c07d62 ("lib: replace logging helpers")
>
> Reported-by: Thomas Monjalon <thomas at monjalon.net>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
> lib/dmadev/rte_dmadev.c | 3 +--
> lib/gpudev/gpudev.c | 3 +--
> lib/graph/graph_private.h | 2 +-
> lib/node/node_private.h | 2 +-
> lib/telemetry/telemetry.c | 4 ++--
> lib/vhost/vhost.h | 6 +++---
> 6 files changed, 9 insertions(+), 11 deletions(-)
>
<snip>
Acked-by: Ciara Power <ciara.power at intel.com>
More information about the dev
mailing list