tracing: Add funcgraph_tail option to print function name after closing braces
authorRobert Elliott <elliott@hp.com>
Tue, 20 May 2014 22:10:51 +0000 (17:10 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 21 May 2014 03:29:32 +0000 (23:29 -0400)
commit607e3a29203633eaec7334f2f58f9653df788a06
treef4fc79986cbd5cb935141e47a982f014c1aeadcc
parentccdb594653b1c0d5b0f3e6f8bf764c544ba0606d
tracing: Add funcgraph_tail option to print function name after closing braces

In the function-graph tracer, add a funcgraph_tail option
to print the function name on all } lines, not just
functions whose first line is no longer in the trace
buffer.

If a function calls other traced functions, its total
time appears on its } line.  This change allows grep
to be used to determine the function for which the
line corresponds.

Update Documentation/trace/ftrace.txt to describe
this new option.

Link: http://lkml.kernel.org/p/20140520221041.8359.6782.stgit@beardog.cce.hp.com
Signed-off-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Documentation/trace/ftrace.txt
kernel/trace/trace.h
kernel/trace/trace_functions_graph.c