提交 e85d92b3 编写于 作者: M Martin Kepplinger 提交者: Jonathan Corbet

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: NMartin Kepplinger <martin.kepplinger@puri.sm>
Link: https://lore.kernel.org/r/20210303091646.773111-1-martin.kepplinger@puri.smSigned-off-by: NJonathan Corbet <corbet@lwn.net>
上级 459d7ed8
...@@ -347,7 +347,7 @@ Examples ...@@ -347,7 +347,7 @@ Examples
<debugfs>/dynamic_debug/control <debugfs>/dynamic_debug/control
// enable messages in files of which the paths include string "usb" // 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 // enable all messages
nullarbor:~ # echo -n '+p' > <debugfs>/dynamic_debug/control nullarbor:~ # echo -n '+p' > <debugfs>/dynamic_debug/control
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册