aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/ui/browsers/hists.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-06-20 23:58:13 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-06-22 09:56:34 -0300
commitf758990f25d159c067f31ded52b298a4f15cb08e (patch)
tree7005171114f1b572e0b10dec079b1db51f9f2f93 /tools/perf/ui/browsers/hists.h
parentperf script stackcollapse: Remove reference to the perl interpreter (diff)
downloadwireguard-linux-f758990f25d159c067f31ded52b298a4f15cb08e.tar.xz
wireguard-linux-f758990f25d159c067f31ded52b298a4f15cb08e.zip
perf hists browser: Move hist_browser into header file
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-3-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.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/perf/ui/browsers/hists.h b/tools/perf/ui/browsers/hists.h
new file mode 100644
index 000000000000..9b6785ce79b4
--- /dev/null
+++ b/tools/perf/ui/browsers/hists.h
@@ -0,0 +1,23 @@
+#ifndef _PERF_UI_BROWSER_HISTS_H_
+#define _PERF_UI_BROWSER_HISTS_H_ 1
+
+#include "ui/browser.h"
+
+struct hist_browser {
+ struct ui_browser b;
+ struct hists *hists;
+ struct hist_entry *he_selection;
+ struct map_symbol *selection;
+ struct hist_browser_timer *hbt;
+ struct pstack *pstack;
+ struct perf_env *env;
+ int print_seq;
+ bool show_dso;
+ bool show_headers;
+ float min_pcnt;
+ u64 nr_non_filtered_entries;
+ u64 nr_hierarchy_entries;
+ u64 nr_callchain_rows;
+};
+
+#endif /* _PERF_UI_BROWSER_HISTS_H_ */