diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-05-22 11:49:22 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-26 16:51:49 -0400 |
commit | 41bc8144d02028133bcd1d545023c6f49e8b2411 (patch) | |
tree | 382a6bbd0560df129c27b490aca36404edd7b19a /kernel/trace/trace.h | |
parent | 41c52c0db9607e59f90da7da5309489fa06e887f (diff) |
ftrace: fix up cmdline recording
The new work with converting the trace hooks over to markers broke the
command line recording of ftrace. This patch fixes it again.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index c460e85e94ed..6b8bd8800d04 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -218,6 +218,8 @@ void trace_function(struct trace_array *tr, | |||
218 | 218 | ||
219 | void tracing_start_function_trace(void); | 219 | void tracing_start_function_trace(void); |
220 | void tracing_stop_function_trace(void); | 220 | void tracing_stop_function_trace(void); |
221 | void tracing_start_cmdline_record(void); | ||
222 | void tracing_stop_cmdline_record(void); | ||
221 | int register_tracer(struct tracer *type); | 223 | int register_tracer(struct tracer *type); |
222 | void unregister_tracer(struct tracer *type); | 224 | void unregister_tracer(struct tracer *type); |
223 | 225 | ||
@@ -226,8 +228,6 @@ extern unsigned long nsecs_to_usecs(unsigned long nsecs); | |||
226 | extern unsigned long tracing_max_latency; | 228 | extern unsigned long tracing_max_latency; |
227 | extern unsigned long tracing_thresh; | 229 | extern unsigned long tracing_thresh; |
228 | 230 | ||
229 | extern atomic_t trace_record_cmdline_enabled; | ||
230 | |||
231 | void update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu); | 231 | void update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu); |
232 | void update_max_tr_single(struct trace_array *tr, | 232 | void update_max_tr_single(struct trace_array *tr, |
233 | struct task_struct *tsk, int cpu); | 233 | struct task_struct *tsk, int cpu); |