]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit9898abb3d23311fa227a7f46bf4e40fd2954057f
treef32e6f1b0422e491bf3db276f6f62467e4a21928
parent86151fdf38b3795f292b39defbff39d2684b9c8c
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