[PATCH] Documentation: add reference from dynamic debug to loglevel kernel params

Daniel Lublin posted 1 patch 1 year, 5 months ago
There is a newer version of this series
Documentation/admin-guide/dynamic-debug-howto.rst | 6 ++++++
1 file changed, 6 insertions(+)
[PATCH] Documentation: add reference from dynamic debug to loglevel kernel params
Posted by Daniel Lublin 1 year, 5 months ago
Signed-off-by: Daniel Lublin <daniel@lublin.se>
---
 Documentation/admin-guide/dynamic-debug-howto.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentation/admin-guide/dynamic-debug-howto.rst
index 0e9b48daf690..7e55097e559d 100644
--- a/Documentation/admin-guide/dynamic-debug-howto.rst
+++ b/Documentation/admin-guide/dynamic-debug-howto.rst
@@ -26,6 +26,12 @@ Dynamic debug provides:
    - format string
    - class name (as known/declared by each module)
 
+NOTE: To actually get the debug-print output on the console, you may
+need to adjust the kernel ``loglevel=``, or use ``ignore_loglevel``.
+Read about these kernel parameters in
+:ref:`Documentation/admin-guide/kernel-parameters.rst
+<kernelparameters>`.
+
 Viewing Dynamic Debug Behaviour
 ===============================
 
-- 
2.45.2
Re: [PATCH] Documentation: add reference from dynamic debug to loglevel kernel params
Posted by Jonathan Corbet 1 year, 5 months ago
Daniel Lublin <daniel@lublin.se> writes:

> Signed-off-by: Daniel Lublin <daniel@lublin.se>
> ---
>  Documentation/admin-guide/dynamic-debug-howto.rst | 6 ++++++
>  1 file changed, 6 insertions(+)

This change should really have a changelog.

> diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentation/admin-guide/dynamic-debug-howto.rst
> index 0e9b48daf690..7e55097e559d 100644
> --- a/Documentation/admin-guide/dynamic-debug-howto.rst
> +++ b/Documentation/admin-guide/dynamic-debug-howto.rst
> @@ -26,6 +26,12 @@ Dynamic debug provides:
>     - format string
>     - class name (as known/declared by each module)
>  
> +NOTE: To actually get the debug-print output on the console, you may
> +need to adjust the kernel ``loglevel=``, or use ``ignore_loglevel``.
> +Read about these kernel parameters in
> +:ref:`Documentation/admin-guide/kernel-parameters.rst
> +<kernelparameters>`.

Rather than use :ref:, you can just say
"Documentation/admin-guide/kernel-parameters.rst" and the right thing
will happen.

Thanks,

jon