aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_irqsoff.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_irqsoff.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_irqsoff.c')
-rw-r--r--kernel/trace/trace_irqsoff.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/trace/trace_irqsoff.c b/kernel/trace/trace_irqsoff.c
index 3509086cdc4c..ffdf592a54e3 100644
--- a/kernel/trace/trace_irqsoff.c
+++ b/kernel/trace/trace_irqsoff.c
@@ -394,14 +394,6 @@ static void irqsoff_tracer_reset(struct trace_array *tr)
394 stop_irqsoff_tracer(tr); 394 stop_irqsoff_tracer(tr);
395} 395}
396 396
397static void irqsoff_tracer_ctrl_update(struct trace_array *tr)
398{
399 if (tr->ctrl)
400 start_irqsoff_tracer(tr);
401 else
402 stop_irqsoff_tracer(tr);
403}
404
405static void irqsoff_tracer_start(struct trace_array *tr) 397static void irqsoff_tracer_start(struct trace_array *tr)
406{ 398{
407 tracer_enabled = 1; 399 tracer_enabled = 1;
@@ -442,7 +434,6 @@ static struct tracer irqsoff_tracer __read_mostly =
442 .stop = irqsoff_tracer_stop, 434 .stop = irqsoff_tracer_stop,
443 .open = irqsoff_tracer_open, 435 .open = irqsoff_tracer_open,
444 .close = irqsoff_tracer_close, 436 .close = irqsoff_tracer_close,
445 .ctrl_update = irqsoff_tracer_ctrl_update,
446 .print_max = 1, 437 .print_max = 1,
447#ifdef CONFIG_FTRACE_SELFTEST 438#ifdef CONFIG_FTRACE_SELFTEST
448 .selftest = trace_selftest_startup_irqsoff, 439 .selftest = trace_selftest_startup_irqsoff,
@@ -470,7 +461,6 @@ static struct tracer preemptoff_tracer __read_mostly =
470 .stop = irqsoff_tracer_stop, 461 .stop = irqsoff_tracer_stop,
471 .open = irqsoff_tracer_open, 462 .open = irqsoff_tracer_open,
472 .close = irqsoff_tracer_close, 463 .close = irqsoff_tracer_close,
473 .ctrl_update = irqsoff_tracer_ctrl_update,
474 .print_max = 1, 464 .print_max = 1,
475#ifdef CONFIG_FTRACE_SELFTEST 465#ifdef CONFIG_FTRACE_SELFTEST
476 .selftest = trace_selftest_startup_preemptoff, 466 .selftest = trace_selftest_startup_preemptoff,
@@ -500,7 +490,6 @@ static struct tracer preemptirqsoff_tracer __read_mostly =
500 .stop = irqsoff_tracer_stop, 490 .stop = irqsoff_tracer_stop,
501 .open = irqsoff_tracer_open, 491 .open = irqsoff_tracer_open,
502 .close = irqsoff_tracer_close, 492 .close = irqsoff_tracer_close,
503 .ctrl_update = irqsoff_tracer_ctrl_update,
504 .print_max = 1, 493 .print_max = 1,
505#ifdef CONFIG_FTRACE_SELFTEST 494#ifdef CONFIG_FTRACE_SELFTEST
506 .selftest = trace_selftest_startup_preemptirqsoff, 495 .selftest = trace_selftest_startup_preemptirqsoff,