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

From: Jiri Olsa
Date: Wed Jul 10 2013 - 10:42:19 EST


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

jirka
--
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/