diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-10-14 08:37:38 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-10-14 11:48:50 -0400 |
commit | 7296d66aca60a71076a5f0ffab39730e7788590f (patch) | |
tree | c8381df205b1250797bf852ae5b9968be2afba55 /tools | |
parent | 437cfe7a37df07e2201036fb0903cadae6b08e74 (diff) |
perf annotate browser: Exit when pressing ESC or the left arrow
We lost that functionality on ed7e566, restore it.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-z8eb8af2x46x42lgpn1ustid@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/ui/browsers/annotate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/ui/browsers/annotate.c b/tools/perf/util/ui/browsers/annotate.c index cbefb4fc99c..84315c99928 100644 --- a/tools/perf/util/ui/browsers/annotate.c +++ b/tools/perf/util/ui/browsers/annotate.c | |||
@@ -285,6 +285,8 @@ static int annotate_browser__run(struct annotate_browser *self, int evidx, | |||
285 | timer, arg, delay_secs); | 285 | timer, arg, delay_secs); |
286 | } | 286 | } |
287 | break; | 287 | break; |
288 | case NEWT_KEY_LEFT: | ||
289 | case NEWT_KEY_ESCAPE: | ||
288 | case 'q': | 290 | case 'q': |
289 | case CTRL('c'): | 291 | case CTRL('c'): |
290 | goto out; | 292 | goto out; |