diff options
author | Jason Baron <jbaron@redhat.com> | 2009-02-05 11:51:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-03-24 19:38:26 -0400 |
commit | e9d376f0fa66bd630fe27403669c6ae6c22a868f (patch) | |
tree | 6eadef32eb421647ae98d88341b9aceb259aaf22 /Documentation | |
parent | 095160aee954688a9bad225952c4bee546541e19 (diff) |
dynamic debug: combine dprintk and dynamic printk
This patch combines Greg Bank's dprintk() work with the existing dynamic
printk patchset, we are now calling it 'dynamic debug'.
The new feature of this patchset is a richer /debugfs control file interface,
(an example output from my system is at the bottom), which allows fined grained
control over the the debug output. The output can be controlled by function,
file, module, format string, and line number.
for example, enabled all debug messages in module 'nf_conntrack':
echo -n 'module nf_conntrack +p' > /mnt/debugfs/dynamic_debug/control
to disable them:
echo -n 'module nf_conntrack -p' > /mnt/debugfs/dynamic_debug/control
A further explanation can be found in the documentation patch.
Signed-off-by: Greg Banks <gnb@sgi.com>
Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kernel-parameters.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 54f21a5c262b..3a1aa8a4affc 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -1816,11 +1816,6 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1816 | autoconfiguration. | 1816 | autoconfiguration. |
1817 | Ranges are in pairs (memory base and size). | 1817 | Ranges are in pairs (memory base and size). |
1818 | 1818 | ||
1819 | dynamic_printk Enables pr_debug()/dev_dbg() calls if | ||
1820 | CONFIG_DYNAMIC_PRINTK_DEBUG has been enabled. | ||
1821 | These can also be switched on/off via | ||
1822 | <debugfs>/dynamic_printk/modules | ||
1823 | |||
1824 | print-fatal-signals= | 1819 | print-fatal-signals= |
1825 | [KNL] debug: print fatal signals | 1820 | [KNL] debug: print fatal signals |
1826 | print-fatal-signals=1: print segfault info to | 1821 | print-fatal-signals=1: print segfault info to |