aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hist.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2012-12-18 14:02:17 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-01-24 14:40:11 -0500
commit52168eea32cc01377b31c1ca9a759eae06830ea0 (patch)
tree025c8ddc82518bf0e8ea508e98fca7d4f18a9519 /tools/perf/util/hist.h
parent7e383de42565ecb2cf641fff11946f9bc45e8235 (diff)
perf hists: Rename hists__fprintf_nr_events to events_stats__fprintf
As this function deals exclusively with hists->stats. Preparatory patch for removing the by now needless session->hists, that should be just session->stats. Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-be0o8si9f1z40cwoa534f7me@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r--tools/perf/util/hist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h
index d3664abea6d6..cb6533b2977a 100644
--- a/tools/perf/util/hist.h
+++ b/tools/perf/util/hist.h
@@ -98,7 +98,7 @@ void hists__output_recalc_col_len(struct hists *hists, int max_rows);
98 98
99void hists__inc_nr_entries(struct hists *hists, struct hist_entry *h); 99void hists__inc_nr_entries(struct hists *hists, struct hist_entry *h);
100void hists__inc_nr_events(struct hists *self, u32 type); 100void hists__inc_nr_events(struct hists *self, u32 type);
101size_t hists__fprintf_nr_events(struct hists *self, FILE *fp); 101size_t events_stats__fprintf(struct events_stats *stats, FILE *fp);
102 102
103size_t hists__fprintf(struct hists *self, bool show_header, int max_rows, 103size_t hists__fprintf(struct hists *self, bool show_header, int max_rows,
104 int max_cols, FILE *fp); 104 int max_cols, FILE *fp);