[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0904031550250.21481@gandalf.stny.rr.com>
Date: Fri, 3 Apr 2009 15:50:40 -0400 (EDT)
From: Steven Rostedt <rostedt@...dmis.org>
To: Zhaolei <zhaolei@...fujitsu.com>
cc: linux-kernel@...r.kernel.org
Subject: Re: [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@...fujitsu.com>
Thanks, applied.
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists