Re: [PATCH 15/16] dynamic_debug: factor vpr_info_dq out of ddebug_parse_query

From: Jim Cromie
Date: Tue Dec 20 2011 - 10:48:33 EST


On Tue, Dec 20, 2011 at 1:17 AM, Bart Van Assche <bvanassche@xxxxxxx> wrote:
> On Mon, Dec 19, 2011 at 10:13 PM, Jason Baron <jbaron@xxxxxxxxxx> wrote:
>> From: Jim Cromie <jim.cromie@xxxxxxxxx>
>>
>> Factor pr_info(query) out of ddebug_parse_query, into pr_info_dq(),
>> for reuse later.  Also change the printed labels: file, func to agree
>> with the query-spec keywords accepted in the control file.  Pass ""
>> when string is null, to avoid "(null)" output from sprintf.  For
>> format print, use precision to skip last char, assuming its '\n', no
>> great harm if not, its a debug msg.
>
> pr_info_dq() or vpr_info_dq() ?
>
> Bart.

I chose vpr_info_dq, with leading v to hint at the "if (verbose)" part
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/