diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-05-12 10:06:18 +0900 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-05-21 11:45:37 +0200 |
commit | 4e754e1c7fe02e6b104e61f7e06e9895527e8ad3 (patch) | |
tree | 22ace85da5cb4d4914f8204bbc90a3eead4886a8 /tools/perf/tests/hists_common.h | |
parent | 1c89fe9b0447f0ce393325e51911f8073432b7b4 (diff) | |
download | linux-stable-4e754e1c7fe02e6b104e61f7e06e9895527e8ad3.tar.gz linux-stable-4e754e1c7fe02e6b104e61f7e06e9895527e8ad3.tar.bz2 linux-stable-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.h | 3 |
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__ */ |