On Sat, 2016-12-10 at 00:56 +0100, Markus Böhme wrote: > On 12/09/2016 09:50 AM, Kalle Valo wrote: > > Dan Carpenter <dan.carpenter@xxxxxxxxxx> writes: > > > > > On Thu, Dec 08, 2016 at 02:50:49PM +0300, Dan Carpenter wrote: > > > > On Thu, Dec 08, 2016 at 01:43:42PM +0200, Kalle Valo wrote: > > > > > But it would make me very happy if someone would add a similar grouping > > > > > functionality to dyndbg to make it easy to enable a set of debug > > > > > messages in a driver. > > > > > > > > Thats seems like a reasonable thing as well. > > > > > > I actually like the ath code... We could easily change it to be more > > > generic and make it a top level function for everyone to use. > > > > That would be great. And maybe add a sysfs file with a description > > different levels, like module parameters have. Too bad that I can't work > > on that, too much stuff on my plate right now. > > > > In this case I would like to step in and try to implement grouping of > messages in the dynamic debug code. This seems to be an interesting > learning opportunity. Use bitmaps and levels.