Commit 74df138d508eb35e8b929e165e5403cfbb46a0c5

Authored by Jim Cromie
Committed by Greg Kroah-Hartman
1 parent b558c96ffa

dynamic_debug: change verbosity at runtime

Allow changing dynamic_debug verbosity at run-time, to ease debugging
of ddebug queries as you add them, improving usability.

at boot time: dynamic_debug.verbose=1
at runtime:
root@voyage:~# echo 1 > /sys/module/dynamic_debug/parameters/verbose

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -60,6 +60,7 @@
60 60 static DEFINE_MUTEX(ddebug_lock);
61 61 static LIST_HEAD(ddebug_tables);
62 62 static int verbose = 0;
  63 +module_param(verbose, int, 0644);
63 64  
64 65 /* Return the last part of a pathname */
65 66 static inline const char *basename(const char *path)