summaryrefslogtreecommitdiff
path: root/tools/perf/tests/hists_common.h
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-05-12 05:06:18 +0400
committerJiri Olsa <jolsa@kernel.org>2014-05-21 13:45:37 +0400
commit4e754e1c7fe02e6b104e61f7e06e9895527e8ad3 (patch)
tree22ace85da5cb4d4914f8204bbc90a3eead4886a8 /tools/perf/tests/hists_common.h
parent1c89fe9b0447f0ce393325e51911f8073432b7b4 (diff)
downloadlinux-4e754e1c7fe02e6b104e61f7e06e9895527e8ad3.tar.xz
perf tests: Factor out print_hists_*()
Those print helper functions can be reused by later hist test cases so factor them out to a common location. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/1400480762-22852-20-git-send-email-namhyung@kernel.org Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/tests/hists_common.h')
-rw-r--r--tools/perf/tests/hists_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/tests/hists_common.h b/tools/perf/tests/hists_common.h
index 2528b8fc105a..1415ae69d7b6 100644
--- a/tools/perf/tests/hists_common.h
+++ b/tools/perf/tests/hists_common.h
@@ -41,4 +41,7 @@ struct machines;
*/
struct machine *setup_fake_machine(struct machines *machines);
+void print_hists_in(struct hists *hists);
+void print_hists_out(struct hists *hists);
+
#endif /* __PERF_TESTS__HISTS_COMMON_H__ */