perf ftrace: Add option '-F/--funcs' to list available functions
[linux-2.6-microblaze.git] / tools / perf / Documentation / perf-ftrace.txt
index b80c843..4f56284 100644 (file)
@@ -24,12 +24,17 @@ OPTIONS
 
 -t::
 --tracer=::
-       Tracer to use: function_graph or function.
+       Tracer to use when neither -G nor -F option is not
+       specified: function_graph or function.
 
 -v::
 --verbose=::
         Verbosity level.
 
+-F::
+--funcs::
+        List all available functions to trace.
+
 -p::
 --pid=::
        Trace on existing process id (comma separated list).
@@ -50,33 +55,35 @@ OPTIONS
 
 -T::
 --trace-funcs=::
-       Only trace functions given by the argument.  Multiple functions
-       can be given by using this option more than once.  The function
-       argument also can be a glob pattern.  It will be passed to
-       'set_ftrace_filter' in tracefs.
+       Select function tracer and set function filter on the given
+       function (or a glob pattern). Multiple functions can be given
+       by using this option more than once. The function argument also
+       can be a glob pattern. It will be passed to 'set_ftrace_filter'
+       in tracefs.
 
 -N::
 --notrace-funcs=::
-       Do not trace functions given by the argument.  Like -T option,
-       this can be used more than once to specify multiple functions
-       (or glob patterns).  It will be passed to 'set_ftrace_notrace'
-       in tracefs.
+       Select function tracer and do not trace functions given by the
+       argument.  Like -T option, this can be used more than once to
+       specify multiple functions (or glob patterns).  It will be
+       passed to 'set_ftrace_notrace' in tracefs.
 
 -G::
 --graph-funcs=::
-       Set graph filter on the given function (or a glob pattern).
-       This is useful for the function_graph tracer only and enables
-       tracing for functions executed from the given function.
-       This can be used more than once to specify multiple functions.
-       It will be passed to 'set_graph_function' in tracefs.
+       Select function_graph tracer and set graph filter on the given
+       function (or a glob pattern). This is useful to trace for
+       functions executed from the given function. This can be used more
+       than once to specify multiple functions. It will be passed to
+       'set_graph_function' in tracefs.
 
 -g::
 --nograph-funcs=::
-       Set graph notrace filter on the given function (or a glob pattern).
-       Like -G option, this is useful for the function_graph tracer only
-       and disables tracing for function executed from the given function.
-       This can be used more than once to specify multiple functions.
-       It will be passed to 'set_graph_notrace' in tracefs.
+       Select function_graph tracer and set graph notrace filter on the
+       given function (or a glob pattern). Like -G option, this is useful
+       for the function_graph tracer only and disables tracing for function
+       executed from the given function. This can be used more than once to
+       specify multiple functions. It will be passed to 'set_graph_notrace'
+       in tracefs.
 
 -D::
 --graph-depth=::