Re: [PATCH v2 01/17] log: add a per line log helper with parameterized prefix

2024-02-26 Thread Thomas Monjalon
23/02/2024 00:46, Tyler Retzlaff: > Providing a custom prefix when logging is common for components. Lift > ISO C99 compliant helper macros from mlx5_common.h and provide > RTE_LOG_LINE_PREFIX macro that can expand similar to RTE_LOG_LINE with > a custom prefix and argument list. [...] > > +#define

[PATCH v2 01/17] log: add a per line log helper with parameterized prefix

2024-02-22 Thread Tyler Retzlaff
Providing a custom prefix when logging is common for components. Lift ISO C99 compliant helper macros from mlx5_common.h and provide RTE_LOG_LINE_PREFIX macro that can expand similar to RTE_LOG_LINE with a custom prefix and argument list. Signed-off-by: Tyler Retzlaff --- lib/log/rte_log.h | 14