]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
perf ui: Add search by name/addr to the map__browser
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 5 Aug 2010 22:28:27 +0000 (19:28 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 5 Aug 2010 22:38:02 +0000 (19:38 -0300)
commit80d50cae1b9cc958171c36fffc7357a5abad808c
tree9f6efd6564295a6aeffb88b4bbe7636c6bf59509
parentfb89941ea761f53201959cc217a2c73f6fe13855
perf ui: Add search by name/addr to the map__browser

Only in verbose mode so as not to bloat struct symbol too much.

The key used is '/', just like in vi, less, etc.

More work is needed to allocate space on the symbol in a more clear way.

This experiment shows how to do it for the hist_browser, in the main
window.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c
tools/perf/util/newt.c