[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2024b2594378686f24279488f0d80ad8f13a9181.camel@perches.com>
Date: Wed, 10 Jun 2020 13:24:54 -0700
From: Joe Perches <joe@...ches.com>
To: jim.cromie@...il.com,
Stanimir Varbanov <stanimir.varbanov@...aro.org>,
Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: LKML <linux-kernel@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jason Baron <jbaron@...mai.com>,
Randy Dunlap <rdunlap@...radead.org>
Subject: Re: WIP generic module->debug_flags and dynamic_debug
On Wed, 2020-06-10 at 12:32 -0600, jim.cromie@...il.com wrote:
> so Ive got a WIP / broken / partial approach to giving all modules a
> u32 flagset,
> and enabling pr_debug based upon it. I leave out the "pr_debug_typed(
> bitpos )" for now. For Stanimir, bits 1,2,3 could be high, middle,
> low.
Can you change this please to be a pointer to an unsigned long/int?
That way, existing non-dynamic debug uses like
MODULE_PARM_DESC(debug, "module specific debug control");
maybe could use the same mechanism to enable/disable by class.
Powered by blists - more mailing lists