lkml.org 
[lkml]   [2008]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/3] tracing/function-graph-tracer: signal interrupt triggering on output
2008/12/13 Ingo Molnar <mingo@elte.hu>:
> 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?


\
 
 \ /
  Last update: 2008-12-13 16:25    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog