ftrace/graph: Add ftrace_graph_max_depth kernel parameter
authorTodd Brandt <todd.e.brandt@linux.intel.com>
Fri, 3 Mar 2017 00:12:15 +0000 (16:12 -0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 3 Mar 2017 14:45:01 +0000 (09:45 -0500)
commit65a50c656276b0846bea09dd011c0a3d35b77f3e
treef75fe3c818f323dc288fca8ba60dbdcf3b2db2a4
parentbf7165cfa23695c51998231c4efa080fe1d3548d
ftrace/graph: Add ftrace_graph_max_depth kernel parameter

Early trace callgraphs can be extremely large on systems with
several seconds of boot time. The max_depth parameter limits how
deep the graph trace goes and reduces the output size. This
parameter is the same as the max_graph_depth file in tracefs.

Link: http://lkml.kernel.org/r/1488499935-23216-1-git-send-email-todd.e.brandt@linux.intel.com
Signed-off-by: Todd Brandt <todd.e.brandt@linux.intel.com>
[ changed comments about debugfs to tracefs ]
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Documentation/admin-guide/kernel-parameters.txt
kernel/trace/ftrace.c