perf hists browser: Introduce struct hist_browser title callback
authorJiri Olsa <jolsa@kernel.org>
Mon, 20 Jun 2016 21:58:15 +0000 (23:58 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 22 Jun 2016 12:56:34 +0000 (09:56 -0300)
commit5b91a86f47669898d6f2fe625844ab65cf258c34
tree17af4b771a2f07b8fbea60e768d2174f4a447890
parentdabd201239b5a521c3a5406c86dd273f47f37f1a
perf hists browser: Introduce struct hist_browser title callback

We can now setup title callback for hist_browser, which will be useful
in following changes to create customized hist_browsers.

This also separates struct perf_evsel dependency out of hist_browser
basic code.

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-5-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