aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Martin Kepplinger <martin.kepplinger@puri.sm> 2021-03-03 10:16:46 +0100
committerGravatar Jonathan Corbet <corbet@lwn.net> 2021-03-08 17:09:26 -0700
commite85d92b3bc3b7062f18b24092a65ec427afa8148 (patch)
treec784c81748c1ba52feedff2046f4c00bf7c5cffc
parentdocs: driver-model: device: Add ATTRIBUTE_GROUPS() example (diff)
downloadlinux-e85d92b3bc3b7062f18b24092a65ec427afa8148.tar.gz
linux-e85d92b3bc3b7062f18b24092a65ec427afa8148.tar.bz2
linux-e85d92b3bc3b7062f18b24092a65ec427afa8148.zip
Documentation: dynamic-debug-howto: fix example
dynamic debug is "expecting pairs of match-spec <value>" so the example for all files of which the paths include "usb" there is "file" missing. Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Link: https://lore.kernel.org/r/20210303091646.773111-1-martin.kepplinger@puri.sm Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/admin-guide/dynamic-debug-howto.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentation/admin-guide/dynamic-debug-howto.rst
index 6c04aea8f4cd..b119b8277b3e 100644
--- a/Documentation/admin-guide/dynamic-debug-howto.rst
+++ b/Documentation/admin-guide/dynamic-debug-howto.rst
@@ -347,7 +347,7 @@ Examples
<debugfs>/dynamic_debug/control
// enable messages in files of which the paths include string "usb"
- nullarbor:~ # echo -n '*usb* +p' > <debugfs>/dynamic_debug/control
+ nullarbor:~ # echo -n 'file *usb* +p' > <debugfs>/dynamic_debug/control
// enable all messages
nullarbor:~ # echo -n '+p' > <debugfs>/dynamic_debug/control