summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hist.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-12-16 12:27:09 -0200
committerIngo Molnar <mingo@elte.hu>2009-12-16 16:51:50 +0100
commit4ecf84d086fbeca5a622e971fff013b291dbde86 (patch)
treeea482bdd8006c0318d2236737c5868af859c2179 /tools/perf/util/hist.h
parentd599db3fc5dd4f1e8432fdbc6d899584b25f4dff (diff)
downloadlinux-4ecf84d086fbeca5a622e971fff013b291dbde86.tar.gz
linux-4ecf84d086fbeca5a622e971fff013b291dbde86.tar.bz2
linux-4ecf84d086fbeca5a622e971fff013b291dbde86.zip
perf tools: Move hist entries printing routines from perf report
Will be used in other tools such as 'perf diff'. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1260973631-28035-1-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/hist.h')
-rw-r--r--tools/perf/util/hist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h
index 7efdb1b6d8c8..c7ac78d93b0c 100644
--- a/tools/perf/util/hist.h
+++ b/tools/perf/util/hist.h
@@ -21,5 +21,6 @@ void hist_entry__free(struct hist_entry *);
void perf_session__output_resort(struct perf_session *self, u64 total_samples);
void perf_session__collapse_resort(struct perf_session *self);
+size_t perf_session__fprintf_hists(struct perf_session *self, FILE *fp);
#endif /* __PERF_HIST_H */