Re: [PATCH v2 1/1] devres: Enable trace events

2021-04-13 Thread Andy Shevchenko
On Tue, Apr 13, 2021 at 03:00:52PM +0300, Heikki Krogerus wrote: > On Tue, Apr 13, 2021 at 02:38:01PM +0300, Andy Shevchenko wrote: > > In some cases the printf() mechanism is too heavy and can't be used. > > For example, when debugging a race condition involving devres API. > > When

Re: [PATCH v2 1/1] devres: Enable trace events

2021-04-13 Thread Heikki Krogerus
On Tue, Apr 13, 2021 at 02:38:01PM +0300, Andy Shevchenko wrote: > In some cases the printf() mechanism is too heavy and can't be used. > For example, when debugging a race condition involving devres API. > When CONFIG_DEBUG_DEVRES is enabled I can't reproduce an issue, and > otherwise it's quite

[PATCH v2 1/1] devres: Enable trace events

2021-04-13 Thread Andy Shevchenko
In some cases the printf() mechanism is too heavy and can't be used. For example, when debugging a race condition involving devres API. When CONFIG_DEBUG_DEVRES is enabled I can't reproduce an issue, and otherwise it's quite visible with a useful information being collected. Enable trace events