diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-10-06 11:48:31 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-10-07 16:01:32 -0400 |
commit | 64c6f0c7f8db449e05ee16e35a7083df69addd1d (patch) | |
tree | 9fd57f3442df154fec0440417b583d00c30e8ea5 /tools/perf/builtin-top.c | |
parent | fbe96f29ce4b33e0a22219cc7f5996d9157717e3 (diff) |
perf tools: Make --no-asm-raw the default
And add the annotation output knobs to all the tools that have
integrated annotation (top, report).
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-gnlob67mke6sji2kf4nstp7m@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index cc877bc83ebd..c5aebf6eb746 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -1117,6 +1117,12 @@ static const struct option options[] = { | |||
1117 | "only consider symbols in these comms"), | 1117 | "only consider symbols in these comms"), |
1118 | OPT_STRING(0, "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", | 1118 | OPT_STRING(0, "symbols", &symbol_conf.sym_list_str, "symbol[,symbol...]", |
1119 | "only consider these symbols"), | 1119 | "only consider these symbols"), |
1120 | OPT_BOOLEAN(0, "source", &symbol_conf.annotate_src, | ||
1121 | "Interleave source code with assembly code (default)"), | ||
1122 | OPT_BOOLEAN(0, "asm-raw", &symbol_conf.annotate_asm_raw, | ||
1123 | "Display raw encoding of assembly instructions (default)"), | ||
1124 | OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", | ||
1125 | "Specify disassembler style (e.g. -M intel for intel syntax)"), | ||
1120 | OPT_END() | 1126 | OPT_END() |
1121 | }; | 1127 | }; |
1122 | 1128 | ||