aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2012-05-09 11:21:22 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-05-10 12:07:59 -0400
commit5a5626b1b4bf8467891c9297ffda979db97ed5ec (patch)
tree66bba5641f890e7b26617e2c4b25ce0b74722acc /tools
parentf6c1be2711333b40d7940ff87e3509b4cd278195 (diff)
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 <mingo@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> 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-fyln9286b8gx5q4n277l0djs@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/ui/browsers/hists.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c
index 466827e91b87..a372a4b02635 100644
--- a/tools/perf/ui/browsers/hists.c
+++ b/tools/perf/ui/browsers/hists.c
@@ -941,7 +941,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
941 goto zoom_dso; 941 goto zoom_dso;
942 case 't': 942 case 't':
943 goto zoom_thread; 943 goto zoom_thread;
944 case 's': 944 case '/':
945 if (ui_browser__input_window("Symbol to show", 945 if (ui_browser__input_window("Symbol to show",
946 "Please enter the name of symbol you want to see", 946 "Please enter the name of symbol you want to see",
947 buf, "ENTER: OK, ESC: Cancel", 947 buf, "ENTER: OK, ESC: Cancel",
@@ -969,7 +969,7 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
969 "E Expand all callchains\n" 969 "E Expand all callchains\n"
970 "d Zoom into current DSO\n" 970 "d Zoom into current DSO\n"
971 "t Zoom into current Thread\n" 971 "t Zoom into current Thread\n"
972 "s Filter symbol by name"); 972 "/ Filter symbol by name");
973 continue; 973 continue;
974 case K_ENTER: 974 case K_ENTER:
975 case K_RIGHT: 975 case K_RIGHT: