Re: [PATCH 0/2] perf tools: Add --header/--header-only options

From: Jiri Olsa
Date: Tue Dec 10 2013 - 05:11:58 EST


On Tue, Dec 10, 2013 at 09:06:53AM +0900, Namhyung Kim wrote:
> Hi Jiri,
>
> On Mon, 9 Dec 2013 11:02:48 +0100, Jiri Olsa wrote:
> > Currently the perf.data header is always displayed for stdio
> > output, which is no always useful.
> >
> > Disabling header information by default and adding following
> > options to control header output:
>
> Hmm.. I'm not sure it's OK to change the user-visible default behavior.
> At least we can provide help message for old users?

maybe we could display on the first line something like:

$ perf report --stdio
# To display data file header, please use --header/--header-only options.
#
# Samples: 12 of event 'cycles'
# Event count (approx.): 3741156
#
# Overhead Command Shared Object Symbol
# ........ ....... ................. .........................
...


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/