aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-11-26 00:16:26 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-26 00:52:56 -0500
commit660c7f9be96321fc80026d76411bd15e6f418a72 (patch)
tree5ae61fa51c9e9ce7b42f64cfaa168cd09439ac3d /kernel/trace/trace.h
parente53a6319cca69111c1643dc9f18f4465d7f1cbf0 (diff)
ftrace: add thread comm to function graph tracer
Impact: enhancement to function graph tracer Export the trace_find_cmdline so the function graph tracer can use it to print the comms of the threads. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r--kernel/trace/trace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index ffe1bb1eb620..7adacf349ef7 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -450,6 +450,7 @@ struct tracer_switch_ops {
450 struct tracer_switch_ops *next; 450 struct tracer_switch_ops *next;
451}; 451};
452 452
453char *trace_find_cmdline(int pid);
453#endif /* CONFIG_CONTEXT_SWITCH_TRACER */ 454#endif /* CONFIG_CONTEXT_SWITCH_TRACER */
454 455
455#ifdef CONFIG_DYNAMIC_FTRACE 456#ifdef CONFIG_DYNAMIC_FTRACE