perf hists browser: Add 'm' key for context menu display
authorNamhyung Kim <namhyung@kernel.org>
Tue, 13 Oct 2015 00:02:01 +0000 (09:02 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 13 Oct 2015 02:29:14 +0000 (23:29 -0300)
commit31eb4360546b4bd890f349db01295a173c09b0fb
treea31e718f6c7ceff5f7639c7e895ed353e52207ce
parent186c6cfb32beae66140bc3c3fe4a519ee0234e33
perf hists browser: Add 'm' key for context menu display

With horizontal scrolling, the left/right arrow keys are used to scroll
columns and ENTER/ESC keys are used to enter/exit menu.  However if
callchain is recorded, the ENTER key is used to toggle callchain
expansion so there's no way to display menu.  Use 'm' key to display the
menu for this case.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1444694521-8136-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c