Re: [PATCH v3] dynamic_debug: add wildcard support to filter files/functions/modules

From: Marcel Holtmann
Date: Tue Oct 29 2013 - 16:21:47 EST


Hi Changbin,

> This patch add wildcard '*'(matches zero or more characters) and '?'
> (matches one character) support when qurying debug flags.
>
> Now we can open debug messages using keywords. eg:
> 1. open debug logs in all usb drivers
> echo "file drivers/usb/* +p" > <debugfs>/dynamic_debug/control
> 2. open debug logs for usb xhci code
> echo "file *xhci* +p" > <debugfs>/dynamic_debug/control

and this should have a section in Documentation/dynamic-debug-howto.txt.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/