Hi Jiri,
On Sun, Feb 21, 2016 at 12:18:45AM +0100, Jiri Olsa wrote:
> On Tue, Feb 16, 2016 at 11:08:27PM +0900, Namhyung Kim wrote:
>
> SNIP
>
> > + int64_t cmp;
> > +
> > + while (*p != NULL) {
> > + parent = *p;
> > + iter = rb_entry(parent, struct hist_entry, rb_node_i
On Tue, Feb 16, 2016 at 11:08:27PM +0900, Namhyung Kim wrote:
SNIP
> + int64_t cmp;
> +
> + while (*p != NULL) {
> + parent = *p;
> + iter = rb_entry(parent, struct hist_entry, rb_node_in);
> +
> + cmp = fmt->collapse(fmt, iter, he);
> + if
In the hierarchical view, entries will be grouped and sorted on the
first key, and then second key, and so on. Add he->hroot_{in,out} field
to keep lower level entries. Actually this can be shared with callchain
sorted_root since the hroots are only used by non-leaf entries and
callchain is only u
3 matches
Mail list logo