summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browsers/hists.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2018-05-28 13:54:59 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-06-04 10:28:53 -0300
commitcd0cccbae9f654479a1c5abcd876c7fc4356b882 (patch)
tree16f85ac355cb8f068c77ccbe9e4d81efb4e4f265 /tools/perf/ui/browsers/hists.h
parenta47e843edca81058b9f4187b78f8b98320ebbd59 (diff)
downloadlinux-cd0cccbae9f654479a1c5abcd876c7fc4356b882.tar.bz2
perf hists browser: Pass annotation_options from tool to browser
So that things changed in the command line may percolate to the browser code without using globals. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-5daawc40zhl6gcs600com1ua@git.kernel.org [ Merged fix for NO_SLANG=1 build provided by Jiri Olsa ] 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/ui/browsers/hists.h b/tools/perf/ui/browsers/hists.h
index 9428bee076f2..91d3e18b50aa 100644
--- a/tools/perf/ui/browsers/hists.h
+++ b/tools/perf/ui/browsers/hists.h
@@ -4,6 +4,8 @@
#include "ui/browser.h"
+struct annotation_options;
+
struct hist_browser {
struct ui_browser b;
struct hists *hists;
@@ -12,6 +14,7 @@ struct hist_browser {
struct hist_browser_timer *hbt;
struct pstack *pstack;
struct perf_env *env;
+ struct annotation_options *annotation_opts;
int print_seq;
bool show_dso;
bool show_headers;