Documentation: dyndbg: Improve cli param examples
authorAndrew Halaney <ahalaney@redhat.com>
Wed, 13 Oct 2021 15:40:22 +0000 (11:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Oct 2021 08:48:56 +0000 (10:48 +0200)
commit5879f1c94d67e05401cddd2043649548e38d65d3
treeace482f96a2f2f3e9a7e0cbbe09204cda8cf61af
parent9c40e1aa84123750773a57c9cf39112459a952dd
Documentation: dyndbg: Improve cli param examples

Jim pointed out that using $module.dyndbg= is always a more flexible
choice for using dynamic debug on the command line. The $module.dyndbg
style is checked at boot and handles if $module is a builtin. If it is
actually a loadable module, it is handled again later when the module is
loaded.

If you just use dyndbg="module $module +p" dynamic debug is only enabled
when $module is a builtin.

It was recommended to illustrate wildcard usage as well.

Suggested-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Signed-off-by: Jason Baron <jbaron@akamai.com>
Link: https://lore.kernel.org/r/1634139622-20667-4-git-send-email-jbaron@akamai.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/admin-guide/dynamic-debug-howto.rst