From 3e6055ab981dfd379a1b9bd54b556e81ae9c215f Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Wed, 16 Dec 2009 12:27:10 -0200 Subject: perf session: Move perf report specific hits out of perf_session__fprintf_hists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Those don't make sense for tools such as 'perf diff'. Signed-off-by: Arnaldo Carvalho de Melo Cc: Frédéric Weisbecker Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Paul Mackerras LKML-Reference: <1260973631-28035-2-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar --- tools/perf/util/hist.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'tools/perf/util') diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c index 270eb8f3dce..6e416a62e0d 100644 --- a/tools/perf/util/hist.c +++ b/tools/perf/util/hist.c @@ -515,9 +515,6 @@ size_t perf_session__fprintf_hists(struct perf_session *self, FILE *fp) init_rem_hits(); - fprintf(fp, "# Samples: %ld\n", self->events_stats.total); - fprintf(fp, "#\n"); - fprintf(fp, "# Overhead"); if (symbol_conf.show_nr_samples) { if (symbol_conf.field_sep) @@ -578,14 +575,6 @@ print_entries: ret += hist_entry__fprintf(fp, pos, self); } - if (sort_order == default_sort_order && - parent_pattern == default_parent_pattern) { - fprintf(fp, "#\n"); - fprintf(fp, "# (For a higher level overview, try: perf report --sort comm,dso)\n"); - fprintf(fp, "#\n"); - } - fprintf(fp, "\n"); - free(rem_sq_bracket); return ret; -- cgit v1.2.3