diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-07 22:36:02 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-08 03:51:39 -0500 |
commit | c76f06945be50564f925799ddfb6235ee4c26aa0 (patch) | |
tree | 941aaf84dd36096d7fb013f1e4be28bb8f2ac598 /kernel/trace/trace_irqsoff.c | |
parent | bbf5b1a0cecb56de6236db8b01c5bfb7ab8ba8b2 (diff) |
ftrace: remove trace array ctrl
Impact: remove obsolete variable in trace_array structure
With the new start / stop method of ftrace, the ctrl variable
in the trace_array structure is now obsolete. Remove it.
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.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/kernel/trace/trace_irqsoff.c b/kernel/trace/trace_irqsoff.c index ffdf592a54e3..d919d4eaa7cc 100644 --- a/kernel/trace/trace_irqsoff.c +++ b/kernel/trace/trace_irqsoff.c | |||
@@ -383,15 +383,12 @@ static void __irqsoff_tracer_init(struct trace_array *tr) | |||
383 | irqsoff_trace = tr; | 383 | irqsoff_trace = tr; |
384 | /* make sure that the tracer is visible */ | 384 | /* make sure that the tracer is visible */ |
385 | smp_wmb(); | 385 | smp_wmb(); |
386 | 386 | start_irqsoff_tracer(tr); | |
387 | if (tr->ctrl) | ||
388 | start_irqsoff_tracer(tr); | ||
389 | } | 387 | } |
390 | 388 | ||
391 | static void irqsoff_tracer_reset(struct trace_array *tr) | 389 | static void irqsoff_tracer_reset(struct trace_array *tr) |
392 | { | 390 | { |
393 | if (tr->ctrl) | 391 | stop_irqsoff_tracer(tr); |
394 | stop_irqsoff_tracer(tr); | ||
395 | } | 392 | } |
396 | 393 | ||
397 | static void irqsoff_tracer_start(struct trace_array *tr) | 394 | static void irqsoff_tracer_start(struct trace_array *tr) |