diff options
author | Du, Changbin <changbin.du@gmail.com> | 2014-01-24 00:54:14 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-24 01:36:55 +0100 |
commit | 578b1e0701af34f9ef69daabda4431f1e8501109 (patch) | |
tree | 0a48226089ca5e00382dd24fcebaa38c3318b9c1 /Documentation/dynamic-debug-howto.txt | |
parent | lib/parser.c: put EXPORT_SYMBOLs in the conventional place (diff) | |
download | linux-578b1e0701af34f9ef69daabda4431f1e8501109.tar.xz linux-578b1e0701af34f9ef69daabda4431f1e8501109.zip |
dynamic_debug: add wildcard support to filter files/functions/modules
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
Signed-off-by: Du, Changbin <changbin.du@gmail.com>
Cc: Jason Baron <jbaron@akamai.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions