From: Arnaldo Carvalho de Melo Date: Wed, 21 Jul 2010 20:55:32 +0000 (-0300) Subject: perf ui: Restore SPACE as an alias to PGDN in annotate X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b61b55ed995fd2765cd4ec0b22f0348dee272070;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git perf ui: Restore SPACE as an alias to PGDN in annotate Cc: Frederic Weisbecker Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Stephane Eranian LKML-Reference: Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c index ab6eb368cbf5..2f5f7a1878cf 100644 --- a/tools/perf/util/newt.c +++ b/tools/perf/util/newt.c @@ -750,6 +750,7 @@ int hist_entry__tui_annotate(struct hist_entry *self) browser.width += 18; /* Percentage */ ui_browser__show(&browser, self->ms.sym->name); + newtFormAddHotKey(browser.form, ' '); ret = ui_browser__run(&browser, &es); newtFormDestroy(browser.form); newtPopWindow();