]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists browser: Do not exit on tab key with single event
authorDavid Ahern <dsahern@gmail.com>
Wed, 19 Oct 2011 17:37:47 +0000 (11:37 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Oct 2011 15:31:39 +0000 (13:31 -0200)
commitf95c85602e253eabcb0b6def1eae06d4f72fad98
tree9b19a005355621f6f9c6003805040b199977272d
parent83da84c4ba64cd6b06ac995cd3f0ac4691c34e44
perf hists browser: Do not exit on tab key with single event

TUI help states for multiple event sessions the TAB/UNTAB keys are used
to switch events. For single event sessions (e.g., the default) the tab
key currently causes the tui to exit. Change that to do nothing since
there is not no second event to switch to.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1319045867-12728-1-git-send-email-dsahern@gmail.com
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/ui/browsers/hists.c