[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1384590249-16672-1-git-send-email-changbin.du@gmail.com>
Date: Sat, 16 Nov 2013 16:24:06 +0800
From: "Du, Changbin" <changbin.du@...il.com>
To: jbaron@...mai.com, joe@...ches.com
Cc: linux-kernel@...r.kernel.org, marcel@...tmann.org,
akpm@...ux-foundation.org, "Du, Changbin" <changbin.du@...il.com>
Subject: [PATCH v5 0/3] add wildcard support for dynamic debug
From: "Du, Changbin" <changbin.du@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists