aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ui/browsers/annotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/ui/browsers/annotate.c')
-rw-r--r--tools/perf/util/ui/browsers/annotate.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/perf/util/ui/browsers/annotate.c b/tools/perf/util/ui/browsers/annotate.c
index 674b55e686fd..1967fbf73998 100644
--- a/tools/perf/util/ui/browsers/annotate.c
+++ b/tools/perf/util/ui/browsers/annotate.c
@@ -196,11 +196,8 @@ static int annotate_browser__run(struct annotate_browser *self, int evidx,
196 196
197 nd = self->curr_hot; 197 nd = self->curr_hot;
198 198
199 if (delay_secs != 0)
200 newtFormSetTimer(self->b.form, delay_secs * 1000);
201
202 while (1) { 199 while (1) {
203 key = ui_browser__run(&self->b); 200 key = ui_browser__run(&self->b, delay_secs);
204 201
205 if (delay_secs != 0) { 202 if (delay_secs != 0) {
206 annotate_browser__calc_percent(self, evidx); 203 annotate_browser__calc_percent(self, evidx);