Re: [PATCH] tracing/function-branch-tracer: enhancements for thetrace output

From: Ingo Molnar
Date: Thu Nov 27 2008 - 10:05:33 EST



* Frédéric Weisbecker <fweisbec@xxxxxxxxx> wrote:

> I didn't think of ftrace_printk yet. That's a good idea, this way we
> will see where the ftrace_printk was called, in which function at
> which depth....
>
> Don't you think that would be better to have it as C comments. We
> are in a C-style output and ftrace_printk are especially designed
> for comments in a trace. That would make sense to read:
>
> do_sync_read() {
> /* sock: 0x12345 flag: 1 */
> sock_aio_read() {

Nice idea :-)

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