diff options
| author | Du, Changbin <[email protected]> | 2014-01-23 15:54:14 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-01-23 16:36:55 -0800 |
| commit | 578b1e0701af34f9ef69daabda4431f1e8501109 (patch) | |
| tree | 0a48226089ca5e00382dd24fcebaa38c3318b9c1 /tools/perf/scripts/python/sched-migration.py | |
| parent | a3d2cca43cd31479d4f0414b4d014c4400a4e6d6 (diff) | |
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 <[email protected]>
Cc: Jason Baron <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions