From: akpm@linux-foundation.org Subject: + dynamic-debug-howtotxt-update-since-new-wildcard-support.patch added to -mm tree Date: Tue, 19 Nov 2013 15:34:21 -0800 Message-ID: <528bf57d.ud2roS3UNZh6jFWB%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:42609 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752962Ab3KSXeW (ORCPT ); Tue, 19 Nov 2013 18:34:22 -0500 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, joe@perches.com, jbaron@akamai.com, changbin.du@gmail.com Subject: + dynamic-debug-howtotxt-update-since-new-wildcard-support.patch added to -mm tree To: changbin.du@gmail.com,jbaron@akamai.com,joe@perches.com From: akpm@linux-foundation.org Date: Tue, 19 Nov 2013 15:34:21 -0800 The patch titled Subject: dynamic-debug-howto.txt: update since new wildcard support has been added to the -mm tree. Its filename is dynamic-debug-howtotxt-update-since-new-wildcard-support.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/dynamic-debug-howtotxt-update-since-new-wildcard-support.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/dynamic-debug-howtotxt-update-since-new-wildcard-support.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: "Du, Changbin" Subject: dynamic-debug-howto.txt: update since new wildcard support Add the usage of using new feature wildcard support. Signed-off-by: Du, Changbin Cc: Jason Baron Cc: Joe Perches Signed-off-by: Andrew Morton --- Documentation/dynamic-debug-howto.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff -puN Documentation/dynamic-debug-howto.txt~dynamic-debug-howtotxt-update-since-new-wildcard-support Documentation/dynamic-debug-howto.txt --- a/Documentation/dynamic-debug-howto.txt~dynamic-debug-howtotxt-update-since-new-wildcard-support +++ a/Documentation/dynamic-debug-howto.txt @@ -108,6 +108,12 @@ If your query set is big, you can batch ~# cat query-batch-file > /dynamic_debug/control +A another way is to use wildcard. The match rule support '*' (matches +zero or more characters) and '?' (matches exactly one character).For +example, you can match all usb drivers: + + ~# echo "file drivers/usb/* +p" > /dynamic_debug/control + At the syntactical level, a command comprises a sequence of match specifications, followed by a flags change specification. @@ -315,6 +321,9 @@ nullarbor:~ # echo -n 'func svc_process nullarbor:~ # echo -n 'format "nfsd: READ" +p' > /dynamic_debug/control +// enable messages in files of which the pathes include string "usb" +nullarbor:~ # echo -n '*usb* +p' > /dynamic_debug/control + // enable all messages nullarbor:~ # echo -n '+p' > /dynamic_debug/control _ Patches currently in -mm which might be from changbin.du@gmail.com are lib-parserc-add-match_wildcard-function.patch dynamic_debug-add-wildcard-support-to-filter-files-functions-modules.patch dynamic-debug-howtotxt-update-since-new-wildcard-support.patch