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:34 -0500 | 
| commit | bbf5b1a0cecb56de6236db8b01c5bfb7ab8ba8b2 (patch) | |
| tree | ca72072808748d3ebfcf9a58a1255cd6ce63fee8 /kernel/trace/trace_sysprof.c | |
| parent | 49833fc232bd6a5076496994d855f601354501d7 (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_sysprof.c')
| -rw-r--r-- | kernel/trace/trace_sysprof.c | 10 | 
1 files changed, 0 insertions, 10 deletions
| diff --git a/kernel/trace/trace_sysprof.c b/kernel/trace/trace_sysprof.c index 9587d3bcba55..8097430edff9 100644 --- a/kernel/trace/trace_sysprof.c +++ b/kernel/trace/trace_sysprof.c | |||
| @@ -275,21 +275,11 @@ static void stack_trace_reset(struct trace_array *tr) | |||
| 275 | stop_stack_trace(tr); | 275 | stop_stack_trace(tr); | 
| 276 | } | 276 | } | 
| 277 | 277 | ||
| 278 | static void stack_trace_ctrl_update(struct trace_array *tr) | ||
| 279 | { | ||
| 280 | /* When starting a new trace, reset the buffers */ | ||
| 281 | if (tr->ctrl) | ||
| 282 | start_stack_trace(tr); | ||
| 283 | else | ||
| 284 | stop_stack_trace(tr); | ||
| 285 | } | ||
| 286 | |||
| 287 | static struct tracer stack_trace __read_mostly = | 278 | static struct tracer stack_trace __read_mostly = | 
| 288 | { | 279 | { | 
| 289 | .name = "sysprof", | 280 | .name = "sysprof", | 
| 290 | .init = stack_trace_init, | 281 | .init = stack_trace_init, | 
| 291 | .reset = stack_trace_reset, | 282 | .reset = stack_trace_reset, | 
| 292 | .ctrl_update = stack_trace_ctrl_update, | ||
| 293 | #ifdef CONFIG_FTRACE_SELFTEST | 283 | #ifdef CONFIG_FTRACE_SELFTEST | 
| 294 | .selftest = trace_selftest_startup_sysprof, | 284 | .selftest = trace_selftest_startup_sysprof, | 
| 295 | #endif | 285 | #endif | 
