summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browsers/hists.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-06-20 23:58:14 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-06-22 09:56:34 -0300
commitdabd201239b5a521c3a5406c86dd273f47f37f1a (patch)
treec5ad315df2ddea72680980269a3915477cfe9f18 /tools/perf/ui/browsers/hists.h
parentf758990f25d159c067f31ded52b298a4f15cb08e (diff)
downloadblackbird-obmc-linux-dabd201239b5a521c3a5406c86dd273f47f37f1a.tar.gz
blackbird-obmc-linux-dabd201239b5a521c3a5406c86dd273f47f37f1a.zip
perf hists browser: Make (new|delete|run) public
This way we can use it outside of ui/browsers/hists.c and extend it in following patches. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1466459899-1166-4-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/browsers/hists.h')
-rw-r--r--tools/perf/ui/browsers/hists.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/ui/browsers/hists.h b/tools/perf/ui/browsers/hists.h
index 9b6785ce79b4..57b7764800b7 100644
--- a/tools/perf/ui/browsers/hists.h
+++ b/tools/perf/ui/browsers/hists.h
@@ -20,4 +20,9 @@ struct hist_browser {
u64 nr_callchain_rows;
};
+struct hist_browser *hist_browser__new(struct hists *hists,
+ struct hist_browser_timer *hbt,
+ struct perf_env *env);
+void hist_browser__delete(struct hist_browser *browser);
+int hist_browser__run(struct hist_browser *browser, const char *help);
#endif /* _PERF_UI_BROWSER_HISTS_H_ */
OpenPOWER on IntegriCloud