From: Marcel Holtmann <marcel@holtmann.org>
To: Alain Michaud <alainm@chromium.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [Bluez PATCH] doc: Add definition for Set Kernel Debug Level
Date: Tue, 21 Jan 2020 17:20:54 +0100 [thread overview]
Message-ID: <6E55772A-01D5-4616-B3DB-CC22B935C855@holtmann.org> (raw)
In-Reply-To: <20200120202708.111383-1-alainm@chromium.org>
Hi Alain,
> This command is used to by higher level applications to dynamically
> control the debug logging level of the kernel module. This is
> particularly useful to collect debug information from customers filing
> feedback reports for issues that are difficult to reproduce outside of a
> customer's particular environement.
>
> ---
>
> doc/mgmt-api.txt | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt
> index 1e59acc54..f2dba64d1 100644
> --- a/doc/mgmt-api.txt
> +++ b/doc/mgmt-api.txt
> @@ -3047,6 +3047,31 @@ Load Blocked Keys Command
> Possible errors: Invalid Parameters
> Invalid Index
>
> +Set Kernel Debug Logging Level Command
> +=======================
> +
> + Command Code: 0x0047
> + Controller Index: <controller id>
> + Command Parameters : Debug_Logging_Level (1 octet)
> +
> + This command is used to set the kernel debug logging level. This
> + can be by higher level applications to facilitate dynamically
> + controlling the logging level produced by the Bluez kernel module.
> +
> + Supported Debug_Logging_Level values:
> + 0 : No Logging
> + 1 : All debug information.
> + All other values are reserved for future use.
> +
> + When the kernel receives a value higher than the maximum supported
> + value, the kernel module shall set it's logging level to the highest
> + value it supports.
> +
> + This command generates a Command Complete event on success or
> + a Command Status event on failure.
> +
> + Possible errors: Invalid Parameters
> + Invalid Index
I need a bit more explanation on how this is suppose to work and why the current dynamic_debug feature is not enough.
Regards
Marcel
next prev parent reply other threads:[~2020-01-21 16:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-20 20:27 [Bluez PATCH] doc: Add definition for Set Kernel Debug Level Alain Michaud
2020-01-21 16:20 ` Marcel Holtmann [this message]
2020-01-21 18:25 ` Alain Michaud
2020-01-21 18:33 ` Johan Hedberg
2020-01-21 18:37 ` Alain Michaud
2020-01-22 21:48 ` Alain Michaud
2020-01-23 5:52 ` Marcel Holtmann
2020-01-23 14:38 ` Alain Michaud
2020-01-23 17:44 ` Marcel Holtmann
2020-01-23 18:04 ` Alain Michaud
2020-01-23 18:16 ` Marcel Holtmann
2020-01-23 18:18 ` Alain Michaud
2020-01-23 23:13 ` Luiz Augusto von Dentz
2020-01-27 16:54 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6E55772A-01D5-4616-B3DB-CC22B935C855@holtmann.org \
--to=marcel@holtmann.org \
--cc=alainm@chromium.org \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox