Messages in this thread | | | From | Jim Cromie <> | Date | Tue, 20 Dec 2011 08:47:58 -0700 | Subject | Re: [PATCH 15/16] dynamic_debug: factor vpr_info_dq out of ddebug_parse_query |
| |
On Tue, Dec 20, 2011 at 1:17 AM, Bart Van Assche <bvanassche@acm.org> wrote: > On Mon, Dec 19, 2011 at 10:13 PM, Jason Baron <jbaron@redhat.com> wrote: >> From: Jim Cromie <jim.cromie@gmail.com> >> >> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |