perf newt: Add a "Zoom into foo.so DSO" and reverse operations
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 3 Apr 2010 19:30:44 +0000 (16:30 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 4 Apr 2010 01:36:56 +0000 (22:36 -0300)
commit83753190c136901c916df267703937e60f24b8b8
treedc0c7fa2056fe2e01c65627ed87c3f30c8b9aa5a
parent22a4e4c435bbc0edccc2e7e5143ce4fbe9679e2d
perf newt: Add a "Zoom into foo.so DSO" and reverse operations

Clicking on -> will bring as one of the popup menu options a "Zoom into
CURRENT DSO", i.e. CURRENT will be replaced by the name of the DSO in
the current line.

Choosing this option will filter out all samples that didn't took place
in a symbol in this DSO.

After that the option reverts to "Zoom out of CURRENT DSO", to allow
going back to the more compreensive view, not filtered by DSO.

Future similar operations will include zooming into a particular thread,
COMM, CPU, "last minute", "last N usecs", etc.

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/newt.c
tools/perf/util/sort.h