lkml.org 
[lkml]   [2013]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v5 0/3] add wildcard support for dynamic debug
Date
From: "Du, Changbin" <changbin.du@gmail.com>

These patches are to make it easier to filter kernel debug logs which
we want.
Whith wildcard support, below command can enable all usb debug logs:
#echo "file drivers/usb/* +p" > <debugfs>/dynamic_debug/control
This patch only enables two wildcard:
'*' - matches zero or more characters
'?' - matches one character

Changes since v4:
moved matching function to lib/parser.c

Du, Changbin (3):
lib/parser.c: add match_wildcard function
dynamic_debug: add wildcard support to filter files/functions/modules
dynamic-debug-howto.txt: update since new wildcard support

Documentation/dynamic-debug-howto.txt | 9 +++++++
include/linux/parser.h | 1 +
lib/dynamic_debug.c | 15 +++++++----
lib/parser.c | 51 +++++++++++++++++++++++++++++++++++
4 files changed, 71 insertions(+), 5 deletions(-)

--
1.8.3.2



\
 
 \ /
  Last update: 2013-11-16 09:41    [W:0.180 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site