aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/perf/util/ui/browsers/hists.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/util/ui/browsers/hists.c b/tools/perf/util/ui/browsers/hists.c
index 4663dcb2a19b..44210d471719 100644
--- a/tools/perf/util/ui/browsers/hists.c
+++ b/tools/perf/util/ui/browsers/hists.c
@@ -314,8 +314,7 @@ static int hist_browser__run(struct hist_browser *self, const char *ev_name,
314 key = ui_browser__run(&self->b, delay_secs); 314 key = ui_browser__run(&self->b, delay_secs);
315 315
316 switch (key) { 316 switch (key) {
317 case -1: 317 case K_TIMER:
318 /* FIXME we need to check if it was es.reason == NEWT_EXIT_TIMER */
319 timer(arg); 318 timer(arg);
320 ui_browser__update_nr_entries(&self->b, self->hists->nr_entries); 319 ui_browser__update_nr_entries(&self->b, self->hists->nr_entries);
321 hists__browser_title(self->hists, title, sizeof(title), 320 hists__browser_title(self->hists, title, sizeof(title),
@@ -914,7 +913,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
914 "C Collapse all callchains\n" 913 "C Collapse all callchains\n"
915 "E Expand all callchains\n" 914 "E Expand all callchains\n"
916 "d Zoom into current DSO\n" 915 "d Zoom into current DSO\n"
917 "t Zoom into current Thread\n"); 916 "t Zoom into current Thread");
918 continue; 917 continue;
919 case K_ENTER: 918 case K_ENTER:
920 case K_RIGHT: 919 case K_RIGHT: