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

From: Changbin Du
Date: Wed Oct 30 2013 - 02:24:36 EST


2013/10/30 Marcel Holtmann <marcel@xxxxxxxxxxxx>:
> 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.

Yes, I will add a section to update the documentation also. Thanks for
reminding.

>
> 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/