summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRex Nie <rex.nie@jaguarmicro.com>2023-12-13 10:37:35 +0300
committerJonathan Corbet <corbet@lwn.net>2023-12-15 19:15:05 +0300
commit121d0ba224d94ba7c16cc40faa48895496cb560c (patch)
tree384e39d512df473912346e2c5773dd40ef1f9437
parent99aa6117a34eef02c135a7199c709541d4445677 (diff)
downloadlinux-121d0ba224d94ba7c16cc40faa48895496cb560c.tar.xz
Documentation: Remove redundant file names from examples
Since most examples use the ddcmd alias, remove the redundant file names Signed-off-by: Rex Nie <rex.nie@jaguarmicro.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20231213073735.2850-1-rex.nie@jaguarmicro.com
-rw-r--r--Documentation/admin-guide/dynamic-debug-howto.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentation/admin-guide/dynamic-debug-howto.rst
index 0c526dac8428..0e9b48daf690 100644
--- a/Documentation/admin-guide/dynamic-debug-howto.rst
+++ b/Documentation/admin-guide/dynamic-debug-howto.rst
@@ -321,13 +321,13 @@ Examples
:#> ddcmd 'format "nfsd: READ" +p'
// enable messages in files of which the paths include string "usb"
- :#> ddcmd 'file *usb* +p' > /proc/dynamic_debug/control
+ :#> ddcmd 'file *usb* +p'
// enable all messages
- :#> ddcmd '+p' > /proc/dynamic_debug/control
+ :#> ddcmd '+p'
// add module, function to all enabled messages
- :#> ddcmd '+mf' > /proc/dynamic_debug/control
+ :#> ddcmd '+mf'
// boot-args example, with newlines and comments for readability
Kernel command line: ...