]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - tools/perf/util/hist.c
perf session: Move perf report specific hits out of perf_session__fprintf_hists
[mirror_ubuntu-bionic-kernel.git] / tools / perf / util / hist.c
index 270eb8f3dceeec2870d4fff00b01c4effbb8f3a0..6e416a62e0d603cd28fd604cde95304a8151a9d3 100644 (file)
@@ -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;