aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_sched_switch.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-11-07 22:36:02 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-08 03:51:34 -0500
commitbbf5b1a0cecb56de6236db8b01c5bfb7ab8ba8b2 (patch)
treeca72072808748d3ebfcf9a58a1255cd6ce63fee8 /kernel/trace/trace_sched_switch.c
parent49833fc232bd6a5076496994d855f601354501d7 (diff)
ftrace: remove ctrl_update method
Impact: Remove the ctrl_update tracer method With the new quick start/stop method of tracing, the ctrl_update method is out of date. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_sched_switch.c')
-rw-r--r--kernel/trace/trace_sched_switch.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/trace/trace_sched_switch.c b/kernel/trace/trace_sched_switch.c
index 79410db64d6..7b73fd11e4a 100644
--- a/kernel/trace/trace_sched_switch.c
+++ b/kernel/trace/trace_sched_switch.c
@@ -220,15 +220,6 @@ static void sched_switch_trace_reset(struct trace_array *tr)
220 stop_sched_trace(tr); 220 stop_sched_trace(tr);
221} 221}
222 222
223static void sched_switch_trace_ctrl_update(struct trace_array *tr)
224{
225 /* When starting a new trace, reset the buffers */
226 if (tr->ctrl)
227 start_sched_trace(tr);
228 else
229 stop_sched_trace(tr);
230}
231
232static void sched_switch_trace_start(struct trace_array *tr) 223static void sched_switch_trace_start(struct trace_array *tr)
233{ 224{
234 sched_switch_reset(tr); 225 sched_switch_reset(tr);
@@ -247,7 +238,6 @@ static struct tracer sched_switch_trace __read_mostly =
247 .reset = sched_switch_trace_reset, 238 .reset = sched_switch_trace_reset,
248 .start = sched_switch_trace_start, 239 .start = sched_switch_trace_start,
249 .stop = sched_switch_trace_stop, 240 .stop = sched_switch_trace_stop,
250 .ctrl_update = sched_switch_trace_ctrl_update,
251#ifdef CONFIG_FTRACE_SELFTEST 241#ifdef CONFIG_FTRACE_SELFTEST
252 .selftest = trace_selftest_startup_sched_switch, 242 .selftest = trace_selftest_startup_sched_switch,
253#endif 243#endif