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

From: Arnaldo Carvalho de Melo
Date: Tue Dec 10 2013 - 06:42:31 EST


Em Mon, Dec 09, 2013 at 04:25:29PM -0700, David Ahern escreveu:
> [Added Stephane given that he added the header output]

Yeah, I added him to the CC list in the patch when I merged it, Ingo had
asked me to do this quite some time ago, I also usually did:

$ perf report | grep -v ^#

When looking for the first few entries in a profile.

I think that with Namhyung's improvement to the man page + the single
line stating that --header should be used to get the previous behavior
we are ok, no?

> On 12/9/13, 3:02 AM, 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:
> > --header - display header information (old default)
> > --header-only - display header information only w/o further
> > processing.

> I've been getting annoyed but that as well. Very useful on the first
> run; overhead after that.

> Acked-by: David Ahern <dsahern@xxxxxxxxx>

I'll add this since I'll have to reprocess the last batch due to the
dso__delete problem.

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