dynamic_debug: drop enabled field from struct _ddebug, use _DPRINTK_FLAGS_PRINT
authorJim Cromie <jim.cromie@gmail.com>
Mon, 19 Dec 2011 22:11:13 +0000 (17:11 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Jan 2012 20:46:44 +0000 (12:46 -0800)
Currently any enabled dynamic-debug flag on a pr_debug callsite will
enable printing, even if _DPRINTK_FLAGS_PRINT is off.  Checking print
flag directly allows "-p" to disable callsites without fussing with
other flags, so the following disables everything, without altering
flags user may have set:

echo -p > $DBGFS/dynamic_debug/control

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found