aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-05-12 15:21:00 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 15:52:12 -0400
commit25b0b44a1c732ccfc58095cdd8438955a0a19fff (patch)
tree68d2577cc12d6fc6cf14508cdf2ce8fbbf85032b /kernel/trace/trace.h
parent4fcdae83cebda24b519a89d3dd976081fff1ca80 (diff)
ftrace: fix comm on function trace output
In cleaning up of the sched_switch code, the function trace recording of task comms was removed. This patch adds back the recording of comms for function trace. The output of ftrace now has the task comm instead of <...>. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 21c29ee13e53..8991c5efcc74 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -216,6 +216,8 @@ extern unsigned long nsecs_to_usecs(unsigned long nsecs);
216extern unsigned long tracing_max_latency; 216extern unsigned long tracing_max_latency;
217extern unsigned long tracing_thresh; 217extern unsigned long tracing_thresh;
218 218
219extern atomic_t trace_record_cmdline_enabled;
220
219void update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu); 221void update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu);
220void update_max_tr_single(struct trace_array *tr, 222void update_max_tr_single(struct trace_array *tr,
221 struct task_struct *tsk, int cpu); 223 struct task_struct *tsk, int cpu);