commit | dcef788eb9659b61a2110284fcce3ca6e63480d2 | [log] [tgz] |
---|---|---|
author | Zhaolei <zhaolei@cn.fujitsu.com> | Tue Mar 31 15:26:14 2009 +0800 |
committer | Ingo Molnar <mingo@elte.hu> | Tue Apr 07 14:43:09 2009 +0200 |
tree | b888723a3131d37afdae47e2d80a63796d19a6db | |
parent | 597af81537654097b67fd7a0c92775e66d4a86fe [diff] |
ftrace: clean up enable logic for sched_switch Unify sched_switch and sched_wakeup's action to following logic: Do record_cmdline when start_cmdline_record() is called. Start tracing events when the tracer is started. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> LKML-Reference: <49D1C596.5050203@cn.fujitsu.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>