]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbba73d66299831622f32933eed2e1362495b5b1e
tree93c3e3237b9b6afdb64d3fb99c6d681010c682a7
parent873e5219b56a888f2b368b554f57051b67bcb200
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