perf hists browser: Use '/' for search/filter instead of 's'
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 May 2012 15:21:22 +0000 (12:21 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 10 May 2012 16:07:59 +0000 (13:07 -0300)
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>
tools/perf/ui/browsers/hists.c

index 466827e91b87e52229c1a71cc631f0ac3c7f8ecf..a372a4b026354b4d9f3984bc7fd3b96a5523f95a 100644 (file)
@@ -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: