Re: [PATCH 05/19] perf tools: Introduce new 'ftrace' tool

2013-06-27 Thread Namhyung Kim
2013-06-27 (목), 07:51 -0600, David Ahern: > On 6/26/13 11:04 PM, Namhyung Kim wrote: > > Hi David, > > > > On Wed, 26 Jun 2013 11:10:34 -0600, David Ahern wrote: > >> On 6/26/13 1:14 AM, Namhyung Kim wrote: > >>> + const char * const ftrace_usage[] = { > >>> + "perf ftrace [] []", > >>> +

Re: [PATCH 05/19] perf tools: Introduce new 'ftrace' tool

2013-06-27 Thread David Ahern
On 6/26/13 11:04 PM, Namhyung Kim wrote: Hi David, On Wed, 26 Jun 2013 11:10:34 -0600, David Ahern wrote: On 6/26/13 1:14 AM, Namhyung Kim wrote: + const char * const ftrace_usage[] = { + "perf ftrace [] []", + "perf ftrace [] -- []", + NULL +

Re: [PATCH 05/19] perf tools: Introduce new 'ftrace' tool

2013-06-26 Thread Namhyung Kim
Hi David, On Wed, 26 Jun 2013 11:10:34 -0600, David Ahern wrote: > On 6/26/13 1:14 AM, Namhyung Kim wrote: >> +const char * const ftrace_usage[] = { >> +"perf ftrace [] []", >> +"perf ftrace [] -- []", >> +NULL >> +}; >> +const struct option ftrace_

Re: [PATCH 05/19] perf tools: Introduce new 'ftrace' tool

2013-06-26 Thread David Ahern
On 6/26/13 1:14 AM, Namhyung Kim wrote: + const char * const ftrace_usage[] = { + "perf ftrace [] []", + "perf ftrace [] -- []", + NULL + }; + const struct option ftrace_options[] = { + OPT_STRING('t', "tracer", &ftrace.tracer, "t

[PATCH 05/19] perf tools: Introduce new 'ftrace' tool

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim The ftrace command is a simple wrapper of kernel's ftrace functionality. It only supports single thread tracing currently and just reads trace_pipe in text and then write it to stdout. Cc: Steven Rostedt Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/M