Re: [RFC 0/7] perf report/gtk: Add support for hierarchy view

From: Pekka Enberg
Date: Wed May 22 2013 - 04:45:22 EST


On 05/21/2013 10:26 AM, Namhyung Kim wrote:
On Tue, 21 May 2013 10:04:05 +0300, Pekka Enberg wrote:
Hello,

On Tue, May 21, 2013 at 9:14 AM, Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
This patchset implements a new feature that collects hist entries in a
hierachical manner. That means lower-level entries are belonged to an
upper-level entry. The entry hierachy is built on the sort keys
given, so users can set it whatever they want. It only shows
top-level entries first, and user can expand/collapse it dynamically.

This is only implemented in --gtk currently, since it's well-matched
to the GTK tree view widget and I didn't want to be bothered with the
TUI browser code at this stage. :)

Can use this infrastructure to support call-graphs in the GTK UI?

Yes, I think it's doable. I don't have an idea how to use both of the
features at the same time though. Anyway, I'll try to add support for
callchains later.

So I think hierarchy view makes tons of sense but it needs to be orthogonal with call-graphs. Preferably in such a way that if you have both hierarchy view and call-graphs enabled, you can seamlessly drill down from process level all the way to call-graph leaf nodes.

Pekka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/