perf hists browser: Introduce init()
authorJiri Olsa <jolsa@kernel.org>
Mon, 20 Jun 2016 21:58:18 +0000 (23:58 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 22 Jun 2016 12:56:35 +0000 (09:56 -0300)
commitfcd864265028b65bf154f35fe5a17591ffd49cb9
tree6b534e640bdb5f364d4df957c1e0c1b1c96f4be7
parenta6ec894dea730bdc5568289898d27311e4031da0
perf hists browser: Introduce init()

Factoring out the hist_browser initialization code, so it could be used
from other parts 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-8-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c
tools/perf/ui/browsers/hists.h