forked from Minki/linux
dyndbg: show module in vpr-info in dd-exec-queries
dynamic_debug_exec_queries() accepts a separate module arg (so it can support $module.dyndbg boot arg), display that in the vpr-info for a more useful user-debug context. Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Link: https://lore.kernel.org/r/20211012183310.1016678-2-jim.cromie@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d7c5bf9447
commit
216a0fc408
@ -529,7 +529,7 @@ static int ddebug_exec_queries(char *query, const char *modname)
|
||||
if (!query || !*query || *query == '#')
|
||||
continue;
|
||||
|
||||
vpr_info("query %d: \"%s\"\n", i, query);
|
||||
v2pr_info("query %d: \"%s\" mod:%s\n", i, query, modname ?: "*");
|
||||
|
||||
rc = ddebug_exec_query(query, modname);
|
||||
if (rc < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user