ftrace: add kernel command line graph function filtering
authorStefan Assmann <sassmann@redhat.com>
Mon, 12 Oct 2009 20:17:21 +0000 (22:17 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Mon, 12 Oct 2009 20:17:21 +0000 (22:17 +0200)
commit369bc18f9a6c4e2686204c1d7476ab684a720968
tree84606ab4244907d10b60fb091f2d2e23024ebbae
parent3c355863fb32070a2800f41106519c5c3038623a
ftrace: add kernel command line graph function filtering

Add a command line parameter to allow limiting the function graphs
that are traced on boot up from the given top-level callers , when
ftrace=function_graph is specified.

This patch adds the following command line option:
ftrace_graph_filter=function-list

Where function-list is a comma separated list of functions to filter.

[fweisbec@gmail.com: picked the documentation changes from the v2 patch]

Signed-off-by: Stefan Assmann <sassmann@redhat.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <4AD2DEB9.2@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Documentation/kernel-parameters.txt
kernel/trace/ftrace.c