diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-05-28 10:42:59 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-06-04 09:28:53 -0400 |
commit | 1eddd9e4101d21709c453d80a42d2efc4277cb27 (patch) | |
tree | f18a6e71c69edcfaff6e9e9449162c8eb00268c5 /tools/perf/builtin-annotate.c | |
parent | 380195e2b07b123fb2cd701bd60e78a31fbf3b25 (diff) |
perf annotate: Adopt anotation options from symbol_conf
Continuing to group annotation options in an annotation specific 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-astei92tzxp4yccag5pxb2h7@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r-- | tools/perf/builtin-annotate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 7238010f28d4..2ca7172f0780 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
@@ -515,9 +515,9 @@ int cmd_annotate(int argc, const char **argv) | |||
515 | OPT_CALLBACK(0, "symfs", NULL, "directory", | 515 | OPT_CALLBACK(0, "symfs", NULL, "directory", |
516 | "Look for files with symbols relative to this directory", | 516 | "Look for files with symbols relative to this directory", |
517 | symbol__config_symfs), | 517 | symbol__config_symfs), |
518 | OPT_BOOLEAN(0, "source", &symbol_conf.annotate_src, | 518 | OPT_BOOLEAN(0, "source", &annotate.opts.annotate_src, |
519 | "Interleave source code with assembly code (default)"), | 519 | "Interleave source code with assembly code (default)"), |
520 | OPT_BOOLEAN(0, "asm-raw", &symbol_conf.annotate_asm_raw, | 520 | OPT_BOOLEAN(0, "asm-raw", &annotate.opts.show_asm_raw, |
521 | "Display raw encoding of assembly instructions (default)"), | 521 | "Display raw encoding of assembly instructions (default)"), |
522 | OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", | 522 | OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", |
523 | "Specify disassembler style (e.g. -M intel for intel syntax)"), | 523 | "Specify disassembler style (e.g. -M intel for intel syntax)"), |