* [PATCH] Documentation: dynamic-debug-howto: fix example
@ 2021-03-03 9:16 Martin Kepplinger
2021-03-09 0:09 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Martin Kepplinger @ 2021-03-03 9:16 UTC (permalink / raw)
To: corbet; +Cc: linux-doc, linux-kernel, Martin Kepplinger
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>
---
Documentation/admin-guide/dynamic-debug-howto.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.30.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Documentation: dynamic-debug-howto: fix example
2021-03-03 9:16 [PATCH] Documentation: dynamic-debug-howto: fix example Martin Kepplinger
@ 2021-03-09 0:09 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2021-03-09 0:09 UTC (permalink / raw)
To: Martin Kepplinger; +Cc: linux-doc, linux-kernel, Martin Kepplinger
Martin Kepplinger <martin.kepplinger@puri.sm> writes:
> 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>
> ---
> Documentation/admin-guide/dynamic-debug-howto.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-09 0:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-03 9:16 [PATCH] Documentation: dynamic-debug-howto: fix example Martin Kepplinger
2021-03-09 0:09 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox