Skip to contentSkip to conversation

+ dynamic-debug-howtotxt-update-since-new-wildcard-support.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Nov 19, 2013 Documentation

lore
Share & tools
lore
#0 lore raw

Subject: + dynamic-debug-howtotxt-update-since-new-wildcard-support.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
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" <[email protected]>
Subject: dynamic-debug-howto.txt: update since new wildcard support

Add the usage of using new feature wildcard support.

---

 Documentation/dynamic-debug-howto.txt |    9 +++++++++
 1 file changed, 9 insertions(+)
Documentation/dynamic-debug-howto.txt renamed from Documentation/dynamic-debug-howto.txt~dynamic-debug-howtotxt-update-since-new-wildcard-support +9 -0
diff -puN Documentation/dynamic-debug-howto.txt~dynamic-debug-howtotxt-update-since-new-wildcard-support Documentation/dynamic-debug-howto.txt
@@ -108,6 +108,12 @@ If your query set is big, you can batch
 
   ~# cat query-batch-file > <debugfs>/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" > <debugfs>/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' >
 				<debugfs>/dynamic_debug/control
 
+// enable messages in files of which the pathes include string "usb"
+nullarbor:~ # echo -n '*usb* +p' > <debugfs>/dynamic_debug/control
+
 // enable all messages
 nullarbor:~ # echo -n '+p' > <debugfs>/dynamic_debug/control
 

_

Patches currently in -mm which might be from [email protected] 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