perf newt: Make <- zoom out filters
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 May 2010 23:05:21 +0000 (20:05 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 14 May 2010 23:05:21 +0000 (20:05 -0300)
commit3e1bbdc3a721f4b1ed44f4554402a8dbc60fa97f
tree36dce578a3f530c72e30051ded963759dc40a716
parentc82ee828aa20487d254a5225d256cd422acee459
perf newt: Make <- zoom out filters

After we use the filters to zoom into DSOs or threads, we can use <-
(left arrow) to zoom out from the last filter applied.

It is still possible to zoom out of order by using the popup menu.

With this we now have the zoom out operation on the browsing fast path,
by allowing fast navigation using just the four arrors and the enter key
to expand collapse callchains.

Suggested-by: Ingo Molnar <mingo@elte.hu>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile
tools/perf/util/newt.c
tools/perf/util/pstack.c [new file with mode: 0644]
tools/perf/util/pstack.h [new file with mode: 0644]