Re: [PATCH 11/19] perf ftrace: Add 'report' sub-command

From: Namhyung Kim
Date: Thu Jul 11 2013 - 04:10:26 EST


On Wed, 10 Jul 2013 16:45:39 +0200, Jiri Olsa wrote:
> On Wed, Jun 26, 2013 at 04:14:14PM +0900, Namhyung Kim wrote:
>
> SNIP
>
>>
>> +static int
>> +__cmd_ftrace_report(struct perf_ftrace *ftrace, int argc, const char **argv)
>> +{
>> + int ret = -1;
>> + const char * const report_usage[] = {
>> + "perf ftrace report [<options>]",
>> + NULL
>> + };
>> + const struct option report_options[] = {
>> + OPT_STRING('i', "input", &ftrace->dirname, "dirname",
>> + "input directory name to use (default: perf.data)"),
>> + OPT_INCR('v', "verbose", &verbose,
>> + "be more verbose"),
>> + OPT_BOOLEAN('D', "dump-raw-trace", &dump_trace,
>> + "dump raw trace in ASCII"),
>
> not sure dump_trace is useful here, it's just the first cpu-x samples
> and then following 2 lines repeated MANY times:
>
> ... thread: ls:30064
> ...... dso: [kernel.kallsyms]
>
> I guess you need this to verify first SAMPLEs?

I can't remember why exactly. ;-)

Probably I was thinking about adding more info like raw ftrace data.

Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/