diff options
Diffstat (limited to 'tools/perf/builtin-annotate.c')
| -rw-r--r-- | tools/perf/builtin-annotate.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 67522cf87405..9ea38540b873 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
| @@ -239,7 +239,7 @@ static const char * const annotate_usage[] = { | |||
| 239 | NULL | 239 | NULL |
| 240 | }; | 240 | }; |
| 241 | 241 | ||
| 242 | int cmd_annotate(int argc, const char **argv, const char *prefix __used) | 242 | int cmd_annotate(int argc, const char **argv, const char *prefix __maybe_unused) |
| 243 | { | 243 | { |
| 244 | struct perf_annotate annotate = { | 244 | struct perf_annotate annotate = { |
| 245 | .tool = { | 245 | .tool = { |
| @@ -282,6 +282,8 @@ int cmd_annotate(int argc, const char **argv, const char *prefix __used) | |||
| 282 | "Display raw encoding of assembly instructions (default)"), | 282 | "Display raw encoding of assembly instructions (default)"), |
| 283 | OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", | 283 | OPT_STRING('M', "disassembler-style", &disassembler_style, "disassembler style", |
| 284 | "Specify disassembler style (e.g. -M intel for intel syntax)"), | 284 | "Specify disassembler style (e.g. -M intel for intel syntax)"), |
| 285 | OPT_STRING(0, "objdump", &objdump_path, "path", | ||
| 286 | "objdump binary to use for disassembly and annotations"), | ||
| 285 | OPT_END() | 287 | OPT_END() |
| 286 | }; | 288 | }; |
| 287 | 289 | ||
