aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/hists_common.h
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-05-12 10:06:18 +0900
committerJiri Olsa <jolsa@kernel.org>2014-05-21 11:45:37 +0200
commit4e754e1c7fe02e6b104e61f7e06e9895527e8ad3 (patch)
tree22ace85da5cb4d4914f8204bbc90a3eead4886a8 /tools/perf/tests/hists_common.h
parentperf tools: Introduce reset_output_field() (diff)
downloadlinux-dev-4e754e1c7fe02e6b104e61f7e06e9895527e8ad3.tar.xz
linux-dev-4e754e1c7fe02e6b104e61f7e06e9895527e8ad3.zip
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__ */