]> git.baikalelectronics.ru Git - kernel.git/commit
Dynamic debug: allow simple quoting of words
authorGreg Banks <gnb@melbourne.sgi.com>
Fri, 6 Feb 2009 01:54:26 +0000 (12:54 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:38:27 +0000 (16:38 -0700)
commit76111670394ad9b7c96c7ad07f02016a7f3a9860
treef32e6f1b0422e491bf3db276f6f62467e4a21928
parentf17f3539b3dd1f77e14d6dd3130ceb6f6c707577
Dynamic debug: allow simple quoting of words

Allow simple quoting of words in the dynamic debug control language.

This allows more natural specification when using the control language
to match against printk formats, e.g

#echo -n 'format "Setting node for non-present cpu" +p' >
/mnt/debugfs/dynamic_debug/control

instead of

#echo -n 'format Setting\040node\040for\040non-present\040cpu +p' >
/mnt/debugfs/dynamic_debug/control

Adjust the dynamic debug documention to describe that and provide a
new example.  Adjust the existing examples in the documentation to
reflect the current whitespace escaping behaviour when reading the
control file.  Fix some minor documentation trailing whitespace.

Signed-off-by: Greg Banks <gnb@melbourne.sgi.com>
Acked-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/dynamic-debug-howto.txt
lib/dynamic_debug.c