|
|
@@ -410,6 +410,7 @@ int cmd_annotate(int argc, const char **argv, const char *prefix __maybe_unused)
|
|
|
OPT_BOOLEAN('f', "force", &file.force, "don't complain, do it"),
|
|
|
OPT_INCR('v', "verbose", &verbose,
|
|
|
"be more verbose (show symbol address, etc)"),
|
|
|
+ OPT_BOOLEAN('q', "quiet", &quiet, "do now show any message"),
|
|
|
OPT_BOOLEAN('D', "dump-raw-trace", &dump_trace,
|
|
|
"dump raw trace in ASCII"),
|
|
|
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)
|
|
|
annotate.sym_hist_filter = argv[0];
|
|
|
}
|
|
|
|
|
|
+ if (quiet)
|
|
|
+ perf_quiet_option();
|
|
|
+
|
|
|
file.path = input_name;
|
|
|
|
|
|
annotate.session = perf_session__new(&file, false, &annotate.tool);
|