summaryrefslogtreecommitdiff
path: root/Documentation/dynamic-debug-howto.txt
diff options
context:
space:
mode:
authorDu, Changbin <changbin.du@gmail.com>2014-01-24 03:54:14 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-24 04:36:55 +0400
commit578b1e0701af34f9ef69daabda4431f1e8501109 (patch)
tree0a48226089ca5e00382dd24fcebaa38c3318b9c1 /Documentation/dynamic-debug-howto.txt
parenta3d2cca43cd31479d4f0414b4d014c4400a4e6d6 (diff)
downloadlinux-578b1e0701af34f9ef69daabda4431f1e8501109.tar.xz
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 'Documentation/dynamic-debug-howto.txt')
0 files changed, 0 insertions, 0 deletions