summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browsers/hists.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-06-20 23:58:17 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-06-22 09:56:35 -0300
commita6ec894dea730bdc5568289898d27311e4031da0 (patch)
tree9ef396e479859ccfde185101a550a483ba1c493e /tools/perf/ui/browsers/hists.h
parentb1c7a8f7a1dad1aa46ec26cdfa487598634c5267 (diff)
downloadlinux-stable-a6ec894dea730bdc5568289898d27311e4031da0.tar.gz
linux-stable-a6ec894dea730bdc5568289898d27311e4031da0.tar.bz2
linux-stable-a6ec894dea730bdc5568289898d27311e4031da0.zip
perf hists browser: Introduce perf_evsel_browser constructor
So we could use hist_browser__new for generic hist browser 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-7-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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/perf/ui/browsers/hists.h b/tools/perf/ui/browsers/hists.h
index cf9d04928ccc..ec55a511d910 100644
--- a/tools/perf/ui/browsers/hists.h
+++ b/tools/perf/ui/browsers/hists.h
@@ -24,9 +24,7 @@ struct hist_browser {
char *bf, size_t size);
};
-struct hist_browser *hist_browser__new(struct hists *hists,
- struct hist_browser_timer *hbt,
- struct perf_env *env);
+struct hist_browser *hist_browser__new(struct hists *hists);
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_ */