aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r--tools/perf/builtin-annotate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c
index 9d758c9611a5..68e3a16abd3d 100644
--- a/tools/perf/builtin-annotate.c
+++ b/tools/perf/builtin-annotate.c
@@ -227,6 +227,10 @@ static int __cmd_annotate(struct perf_annotate *ann)
227 ui__error("The %s file has no samples!\n", session->filename); 227 ui__error("The %s file has no samples!\n", session->filename);
228 goto out_delete; 228 goto out_delete;
229 } 229 }
230
231 if (use_browser == 2)
232 perf_gtk__show_annotations();
233
230out_delete: 234out_delete:
231 /* 235 /*
232 * Speed up the exit process, for large files this can 236 * Speed up the exit process, for large files this can