perf ui browser: Add 's' key to filter by symbol name
authorNamhyung Kim <namhyung.kim@lge.com>
Fri, 16 Mar 2012 08:50:53 +0000 (17:50 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Mar 2012 19:34:13 +0000 (16:34 -0300)
commit938a23ae7f656ffde9dd67e83dddf4406f85d773
tree6267df3c31d87762a1490d33073b4e709a8d6a11
parentaa49f6ec990baa9d8f1b46a86fc169a8028776d4
perf ui browser: Add 's' key to filter by symbol name

Now user can enter symbol name interested via ui_browser__input_window,
and perf can process it using hists__filter_by_symbol(). Giving empty
symbol (by pressing 's' followed by ENTER) will disable the filtering.

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1331887855-874-3-git-send-email-namhyung.kim@lge.com
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/ui/browsers/hists.c