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

From: David Ahern
Date: Mon Dec 09 2013 - 18:25:39 EST


[Added Stephane given that he added the header output]

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.

thanks,
jirka


Cc: Corey Ashford <cjashfor@xxxxxxxxxxxxxxxxxx>
Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxxxx>
Cc: David Ahern <dsahern@xxxxxxxxx>
---
tools/perf/Documentation/perf-report.txt | 6 ++++++
tools/perf/Documentation/perf-script.txt | 6 ++++++
tools/perf/builtin-report.c | 19 ++++++++++++++++---
tools/perf/builtin-script.c | 13 ++++++++++---
4 files changed, 38 insertions(+), 6 deletions(-)


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

Acked-by: David Ahern <dsahern@xxxxxxxxx>

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