Re: [PATCH 0/3] tracing/function-graph-tracer: signal interrupttriggering on output

From: Ingo Molnar
Date: Tue Dec 16 2008 - 18:10:00 EST



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

> 2008/12/13 Ingo Molnar <mingo@xxxxxxx>:
> > Another thing, i just noticed that ftrace_print() is broken in certain
> > situations, for example a plain newline:
> >
> > ftrace_printk("\n");
> >
> > printed via trace_pipe will print some weirdly concatenated line:
> >
> > <...>-2994 [007] 406.498986: debug_show: <...>-2994 [007] 406.498986: <...>-2994 [007] 406.498986: debug_show:
> >
> > not via a separate, standalone, empty line.
>
> I just tested with latest -tip and I don't any problem with it.
> With a single ftrace_printk("\n") on might_sleep() I get:
>
> <...>-2739 [000] 145.692153: __might_sleep:
> <...>-2739 [000] 145.692155: __might_sleep:
> <...>-2739 [000] 145.692157: __might_sleep:
> <...>-2739 [000] 145.692158: __might_sleep:
>
> with trace or trace_iter file.
> Does it always occur or in rare situations?

it seemed to occur all the time. Will investigate it if i see it again.

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/