]> git.baikalelectronics.ru Git - kernel.git/commit
Dynamic Debug: Introduce ddebug_query= boot parameter
authorThomas Renninger <trenn@suse.de>
Fri, 6 Aug 2010 14:11:02 +0000 (16:11 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:16:42 +0000 (10:16 -0700)
commit23e7715566f9806e4448ace8dacf0df8960d0f8f
treecde3ca36db486e51d85c31619bf67f8d60215179
parent8c1d055a91b4a555aea584317440fd8fb8097aa3
Dynamic Debug: Introduce ddebug_query= boot parameter

Dynamic debug lacks the ability to enable debug messages at boot time.
One could patch initramfs or service startup scripts to write to
/sys/../dynamic_debug/control, but this sucks.

This patch makes it possible to pass a query in the same format one can
write to /sys/../dynamic_debug/control via boot param.
When dynamic debug gets initialized, this query will automatically be
applied.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Acked-by: jbaron@redhat.com
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/dynamic-debug-howto.txt
Documentation/kernel-parameters.txt
lib/dynamic_debug.c