Messages in this thread | | | From | Namhyung Kim <> | Subject | Re: [PATCH 15/19] perf tools: Add document for perf-ftrace command | Date | Thu, 11 Jul 2013 17:18:37 +0900 |
| |
On Wed, 10 Jul 2013 16:22:19 +0200, Jiri Olsa wrote: > On Wed, Jun 26, 2013 at 04:14:18PM +0900, Namhyung Kim wrote: >> From: Namhyung Kim <namhyung.kim@lge.com> >> >> Cc: Steven Rostedt <rostedt@goodmis.org> >> Cc: Frederic Weisbecker <fweisbec@gmail.com> >> Signed-off-by: Namhyung Kim <namhyung@kernel.org> >> --- > > SNIP > >> +OPTIONS >> +------- >> +<command>...:: >> + Any command you can specify in a shell. >> + >> +-t:: >> +--tracer=:: >> + The ftrace tracer to be used (default: function_graph). >> + Currently only 'function' and 'function_graph' are supported. >> + Used by 'live' and 'record' subcommands only. > > hum, 'live' subcommand supports whatever is available in > 'available_tracers' file, right? > > and displays whatever gets into 'trace' .. which I think > is useful and should stay like that
Agreed. How about this?
The ftrace tracer to be used (default: function_graph). Currently, only 'function' and 'function_graph' are supported by 'record' command. 'live' command accepts any available tracer in system and outputs trace result directly from the ftrace's trace_pipe.
Thanks, Namhyung
| |