lkml.org 
[lkml]   [2009]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/2] ftrace: Add check of sched_stopped for probe_sched_wakeup

On Tue, 31 Mar 2009, Zhaolei wrote:

> We need check sched_stopped in probe_sched_wakeup() to stop tracing when an
> user stops it.
>
> But current code can also do the right thing(stop tracing after
> echo 0 > tracing_enabled) just because tracing_sched_wakeup_trace() can return
> on buffer->record_disabled.
>
> Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>

Thanks, applied.

-- Steve



\
 
 \ /
  Last update: 2009-04-03 21:55    [from the cache]
©2003-2011 Jasper Spaans