diff options
Diffstat (limited to 'tools/perf/builtin-annotate.c')
| -rw-r--r-- | tools/perf/builtin-annotate.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index ebb628332a6e..4f52d85f5ebc 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
| @@ -410,6 +410,7 @@ int cmd_annotate(int argc, const char **argv, const char *prefix __maybe_unused) | |||
| 410 | OPT_BOOLEAN('f', "force", &file.force, "don't complain, do it"), | 410 | OPT_BOOLEAN('f', "force", &file.force, "don't complain, do it"), |
| 411 | OPT_INCR('v', "verbose", &verbose, | 411 | OPT_INCR('v', "verbose", &verbose, |
| 412 | "be more verbose (show symbol address, etc)"), | 412 | "be more verbose (show symbol address, etc)"), |
| 413 | OPT_BOOLEAN('q', "quiet", &quiet, "do now show any message"), | ||
| 413 | OPT_BOOLEAN('D', "dump-raw-trace", &dump_trace, | 414 | OPT_BOOLEAN('D', "dump-raw-trace", &dump_trace, |
| 414 | "dump raw trace in ASCII"), | 415 | "dump raw trace in ASCII"), |
| 415 | OPT_BOOLEAN(0, "gtk", &annotate.use_gtk, "Use the GTK interface"), | 416 | OPT_BOOLEAN(0, "gtk", &annotate.use_gtk, "Use the GTK interface"), |
| @@ -463,6 +464,9 @@ int cmd_annotate(int argc, const char **argv, const char *prefix __maybe_unused) | |||
| 463 | annotate.sym_hist_filter = argv[0]; | 464 | annotate.sym_hist_filter = argv[0]; |
| 464 | } | 465 | } |
| 465 | 466 | ||
| 467 | if (quiet) | ||
| 468 | perf_quiet_option(); | ||
| 469 | |||
| 466 | file.path = input_name; | 470 | file.path = input_name; |
| 467 | 471 | ||
| 468 | annotate.session = perf_session__new(&file, false, &annotate.tool); | 472 | annotate.session = perf_session__new(&file, false, &annotate.tool); |
