Re: [PATCH 10/19] perf ftrace: Add 'show' sub-command

From: Namhyung Kim
Date: Thu Jul 11 2013 - 04:01:46 EST


On Wed, 10 Jul 2013 16:41:48 +0200, Jiri Olsa wrote:
> On Wed, Jun 26, 2013 at 04:14:13PM +0900, Namhyung Kim wrote:
>> From: Namhyung Kim <namhyung.kim@xxxxxxx>
>>
>> The ftrace show subcommand is for viewing recorded ftrace files. It
>> enters perf.data.dir directory and open perf.header file to find out
>> necessary information. And then read out per-cpu trace records using
>> kbuffer helper and print them to stdout in time order.
>>
>> It only shows its basic form so function graph doesn't show duration/
>> overhead and no leaf entry handling is provided yet. Maybe it can be
>> handled by a proper plugin in the libtraceevent.
>>
>
> [jolsa@krava perf]$ sudo ./perf ftrace show -i perf.data.dir/
> failed to open perf.data.dir/.dir/perf.header: No such file or directory
>
> I'd expect any directory name is possible

Oops, right! I should handle the case.

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/