Skip to content

Commit 9cad796

Browse files
author
Jonathan Corbet
committed
docs: fix dev_debug() braino in dynamic-debug-howto.txt
While looking at dynamic-debug-howto.txt, I noticed that it references dev_debug() (which doesn't exist) instead of dev_dbg() (which does exist). I'm lazy, so I choose to fix the document rather than changing every dev_dbg() call. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 521cb40 commit 9cad796

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Documentation/dynamic-debug-howto.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This document describes how to use the dynamic debug (ddebug) feature.
66

77
Dynamic debug is designed to allow you to dynamically enable/disable kernel
88
code to obtain additional kernel information. Currently, if
9-
CONFIG_DYNAMIC_DEBUG is set, then all pr_debug()/dev_debug() calls can be
9+
CONFIG_DYNAMIC_DEBUG is set, then all pr_debug()/dev_dbg() calls can be
1010
dynamically enabled per-callsite.
1111

1212
Dynamic debug has even more useful features:
@@ -26,7 +26,7 @@ Dynamic debug has even more useful features:
2626
Controlling dynamic debug Behaviour
2727
===================================
2828

29-
The behaviour of pr_debug()/dev_debug()s are controlled via writing to a
29+
The behaviour of pr_debug()/dev_dbg()s are controlled via writing to a
3030
control file in the 'debugfs' filesystem. Thus, you must first mount the debugfs
3131
filesystem, in order to make use of this feature. Subsequently, we refer to the
3232
control file as: <debugfs>/dynamic_debug/control. For example, if you want to

0 commit comments

Comments
 (0)