Skip to content

Commit

Permalink
tools: labs: kernel_modules: fix dyndbg
Browse files Browse the repository at this point in the history
Dyndbg can't filter messages printed by pr_info(). Use pr_debug() instead.
  • Loading branch information
LazarRazvan committed Feb 28, 2019
1 parent 9e0b67d commit 53bb702
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/labs/templates/kernel_modules/9-dyndbg/dyndbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ MODULE_LICENSE("GPL");

void my_debug_func(void)
{
pr_info("Important dyndbg debug message1\n");
pr_info("Important dyndbg debug message2\n");
pr_info("Verbose dyndbg debug message\n");
pr_debug("Important dyndbg debug message1\n");
pr_debug("Important dyndbg debug message2\n");
pr_debug("Verbose dyndbg debug message\n");
}
EXPORT_SYMBOL(my_debug_func);

Expand Down

0 comments on commit 53bb702

Please sign in to comment.