aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-05-22 11:49:22 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-26 16:51:49 -0400
commit41bc8144d02028133bcd1d545023c6f49e8b2411 (patch)
tree382a6bbd0560df129c27b490aca36404edd7b19a /kernel/trace/trace.h
parent41c52c0db9607e59f90da7da5309489fa06e887f (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.h4
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
219void tracing_start_function_trace(void); 219void tracing_start_function_trace(void);
220void tracing_stop_function_trace(void); 220void tracing_stop_function_trace(void);
221void tracing_start_cmdline_record(void);
222void tracing_stop_cmdline_record(void);
221int register_tracer(struct tracer *type); 223int register_tracer(struct tracer *type);
222void unregister_tracer(struct tracer *type); 224void unregister_tracer(struct tracer *type);
223 225
@@ -226,8 +228,6 @@ extern unsigned long nsecs_to_usecs(unsigned long nsecs);
226extern unsigned long tracing_max_latency; 228extern unsigned long tracing_max_latency;
227extern unsigned long tracing_thresh; 229extern unsigned long tracing_thresh;
228 230
229extern atomic_t trace_record_cmdline_enabled;
230
231void update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu); 231void update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu);
232void update_max_tr_single(struct trace_array *tr, 232void update_max_tr_single(struct trace_array *tr,
233 struct task_struct *tsk, int cpu); 233 struct task_struct *tsk, int cpu);