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>
This commit is contained in:

committed by
Ingo Molnar

parent
e53a6319cc
commit
660c7f9be9
@@ -804,7 +804,7 @@ static void trace_save_cmdline(struct task_struct *tsk)
|
||||
spin_unlock(&trace_cmdline_lock);
|
||||
}
|
||||
|
||||
static char *trace_find_cmdline(int pid)
|
||||
char *trace_find_cmdline(int pid)
|
||||
{
|
||||
char *cmdline = "<...>";
|
||||
unsigned map;
|
||||
|
Reference in New Issue
Block a user