Re: [RFC PATCH 0/4] Drop custom logging

From: Dan Carpenter
Date: Mon Jan 23 2023 - 07:04:43 EST


On Fri, Jan 20, 2023 at 02:53:15AM +0200, Laurent Pinchart wrote:
> Log categories are used to group messages in categories and control
> their log level per category. As far as I know, dynamic debug doesn't
> provide any such feature.

One idea is you could put the category in the format string. Then you
could just grep /proc/dynamic_debug/control for it and enable the printks
like that.

regards,
dan carpenter