Re: [PATCH 2/5] dyndbg: refine verbosity 1-4 summary-detail

From: Greg KH
Date: Wed Oct 13 2021 - 08:40:22 EST


On Tue, Oct 12, 2021 at 12:33:07PM -0600, Jim Cromie wrote:
> adjust current v*pr_info() calls to fit an overview..detail scheme:
>
> -1 module level activity: add/remove, etc
> -2 command ingest, splitting, summary of effects.
> per >control write
> -3 command parsing, 6 vpr-infos changed to this.
> -4 per-site change - was v2, too noisy there.
> can yield 3k logs per command.
>
> -2 is new, to isolate a problem where a stress-test script (which
> feeds large multi-command strings) would produce short writes,
> truncating last command and causing parsing errors, which confused
> test results. The 1st fix was to use syswrite in the script, to
> deliver full proper commands.
>
> -4 gets per-callsite "changed:" pr-infos, which are very noisy during
> stress tests, and formerly obscured v1-3 messages, and dominated the
> static-key workload being tested.
>
> The verbose parameter has previously seen adjustment:
> commit 481c0e33f1e7 ("dyndbg: refine debug verbosity; 1 is basic, 2 more chatty")
>
> Signed-off-by: Jim Cromie <jim.cromie@xxxxxxxxx>

Where is this being documented? How do we know what these different
"levels" mean?

thanks,

greg k-h