perf hists browser: Use '/' for search/ filter instead of 's'
Commit-ID: 5a5626b1b4bf8467891c9297ffda979db97ed5ec Gitweb: http://git.kernel.org/tip/5a5626b1b4bf8467891c9297ffda979db97ed5ec Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Wed, 9 May 2012 12:21:22 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Thu, 10 May 2012 13:07:59 -0300
perf hists browser: Use '/' for search/filter instead of 's'
That is what is used in vi and mutt, and as well on the 'annotate' browser.
Eventually we can have keymappings to make people used to other key associations more confortable.
Suggested-by Ingo Molnar <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/ui/browsers/hists.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
tools/perf/ui/browsers/hists.c +2 -2
@@ -941,7 +941,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events, goto zoom_dso;case 't' : goto zoom_thread; -case 's' : +case '/' : if (ui_browser__input_window("Symbol to show", "Please enter the name of symbol you want to see", buf, "ENTER: OK, ESC: Cancel",
@@ -969,7 +969,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,"E Expand all callchains\n" "d Zoom into current DSO\n" "t Zoom into current Thread\n" - "s Filter symbol by name"); + "/ Filter symbol by name");continue ;case K_ENTER :case K_RIGHT :