Re: [PATCH 0/4][RFC] event tracer

From: Steven Rostedt
Date: Tue Feb 24 2009 - 17:32:16 EST



On Tue, 24 Feb 2009, Masami Hiramatsu wrote:
> >
> > #undef TPFMT
> > #define TPFMT(fmt, args...) \
> > "(%s)" fmt "\n", #call, ##args
> >
> > and then I could do
> >
> > event_printk(fmt);
>
> Why don't you do as below? :)
> event_printk_line("(" #call ")" ##fmtandargs);

Still need to sneak that "\n" in ;-)

>
> Anyway, your proposal is good for me, because it will recover
> an information which tracepoint has lost.

Thanks,

-- Steve

--
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/