Re: [patchlet] perf_counter tools: add --input=file option tobuiltin-sched.c

From: Ingo Molnar
Date: Fri Sep 18 2009 - 02:38:29 EST



* Mike Galbraith <efault@xxxxxx> wrote:

> perf_counter tools: add --input=file option to builtin-sched.c.
>
> perf sched record passes unparsed args on to perf record, so
> specifying an output file via perf sched record -o FILE (cmd) just
> works. Ergo, provide an option to specify input file as well.

Indeed, that's very useful when one keeps older (or different) traces
around, renamed from perf.data to something else. It basically pushes
the file based 'perf session' concept to perf sched as well.

> Also add the missing 'map' command to help.

Applied your fixes/enhancements to tip:perfcounters/core, thanks Mike!

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