Re: [PATCH] log: force DEBUG when LOG_DEBUG is activated

2022-07-05 Thread Simon Glass
Hi Patrick, On Thu, 30 Jun 2022 at 11:33, Patrick Delaunay wrote: > > When CONFIG_LOG is activated, if LOG_DEBUG is defined in a file and > DEBUG is not defined the trace with debug() macro are not displayed, > because the parameter cond : _DEBUG = 0 is checked in debug_cond(). > > With this patc

[PATCH] log: force DEBUG when LOG_DEBUG is activated

2022-06-30 Thread Patrick Delaunay
When CONFIG_LOG is activated, if LOG_DEBUG is defined in a file and DEBUG is not defined the trace with debug() macro are not displayed, because the parameter cond : _DEBUG = 0 is checked in debug_cond(). With this patch the define DEBUG, used to force the trace generated by debug() macro, is link