OSDN Git Service

perf hists browser: Introduce "expand/collapse all callchains" action
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Aug 2010 20:18:35 +0000 (17:18 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Aug 2010 20:18:35 +0000 (17:18 -0300)
commit3c916cc28ca31892d96215eaf99c1d592884961d
tree93c3e3237b9b6afdb64d3fb99c6d681010c682a7
parent163caed90203a7cab66326ce2be138715dc7c5da
perf hists browser: Introduce "expand/collapse all callchains" action

When looking at a callchains enabled perf data file one can find it
tiresome to start with all callchains collapsed and then to have to go
one by one expanding them.

So associate 'E' with "Expand all callchains" and 'C' with "Collapse all
callchains".

This way now one can have the top level view and then switch to/from
having all callchains expanded.

More work is needed to allow expanding just from one branch down to its
leaves.

Reported-by: Christoph Hellwig <hch@infradead.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/ui/browsers/hists.c