On Wed, 07 Jun 2023, Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> wrote: > Hi Jani, > > On Wed, Jun 07, 2023 at 12:39:44AM +0300, Jani Nikula wrote: >> On Tue, 06 Jun 2023, Laurent Pinchart wrote: >> > On Tue, Jun 06, 2023 at 04:15:22PM +0530, Siddh Raman Pant wrote: >> >> @@ -777,7 +793,7 @@ int drm_client_modeset_probe(struct drm_client_dev *client, unsigned int width, >> >> int i, ret = 0; >> >> bool *enabled; >> >> >> >> - DRM_DEBUG_KMS("\n"); >> >> + drm_dbg_kms(dev, "\n"); >> > >> > This message is pretty useless, it could be dropped on top of this >> > series. >> >> They do debug log the function being called. > > I overlooked the fact that ___drm_dbg() prints the caller's function > name using __builtin_return_address(). It thus has marginally more value > than I thought. Still, function tracing is best performed with ftrace(). I'm not going to argue this one too much, but it can be quite a step getting a random bug reporter from providing dmesgs to running ftrace. BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center