diff options
author | 2018-05-28 11:50:21 -0300 | |
---|---|---|
committer | 2018-06-04 10:28:53 -0300 | |
commit | a47e843edca81058b9f4187b78f8b98320ebbd59 (patch) | |
tree | 71d40fb6d93decf5f86f78b81ab1cc1a89b493e7 /tools/perf/util/annotate.h | |
parent | perf annotate: Adopt anotation options from symbol_conf (diff) | |
download | linux-a47e843edca81058b9f4187b78f8b98320ebbd59.tar.gz linux-a47e843edca81058b9f4187b78f8b98320ebbd59.tar.bz2 linux-a47e843edca81058b9f4187b78f8b98320ebbd59.zip |
perf annotate: Move disassembler_style global to annotation_options
Continuing to group annotation specific stuff into a struct.
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-p3cdhltj58jt0byjzg3g7obx@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r-- | tools/perf/util/annotate.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index 476ea2a25649..71a734b86873 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h @@ -80,6 +80,7 @@ struct annotation_options { int min_pcnt; int max_lines; int context; + const char *disassembler_style; }; enum { @@ -368,8 +369,6 @@ static inline int symbol__tui_annotate(struct symbol *sym __maybe_unused, } #endif -extern const char *disassembler_style; - void annotation_config__init(void); #endif /* __PERF_ANNOTATE_H */ |