diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-11-26 06:16:26 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-26 06:52:56 +0100 |
commit | 660c7f9be96321fc80026d76411bd15e6f418a72 (patch) | |
tree | 5ae61fa51c9e9ce7b42f64cfaa168cd09439ac3d /kernel/trace/trace.h | |
parent | ftrace: let function tracing and function return run together (diff) | |
download | linux-660c7f9be96321fc80026d76411bd15e6f418a72.tar.xz linux-660c7f9be96321fc80026d76411bd15e6f418a72.zip |
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.h | 1 |
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 { struct tracer_switch_ops *next; }; +char *trace_find_cmdline(int pid); #endif /* CONFIG_CONTEXT_SWITCH_TRACER */ #ifdef CONFIG_DYNAMIC_FTRACE |