aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-05-28 14:50:21 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-06-04 13:28:53 +0000
commita47e843edca81058b9f4187b78f8b98320ebbd59 (patch)
tree71d40fb6d93decf5f86f78b81ab1cc1a89b493e7 /tools/perf/util/annotate.h
parentperf annotate: Adopt anotation options from symbol_conf (diff)
downloadkernel-a47e843edca81058b9f4187b78f8b98320ebbd59.tar.gz
kernel-a47e843edca81058b9f4187b78f8b98320ebbd59.zip
perf annotate: Move disassembler_style global to annotation_options
Continuing to group annotation specific stuff into a struct. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r--tools/perf/util/annotate.h3
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 */