lkml.org 
[lkml]   [2016]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 14/23] perf ui/stdio: Implement hierarchy output mode
On Fri, Feb 05, 2016 at 10:01:46PM +0900, Namhyung Kim wrote:

SNIP

>
> - for (nd = rb_first(&hists->entries); nd; nd = rb_next(nd)) {
> + for (nd = rb_first(&hists->entries); nd; nd = rb_hierarchy_next(nd)) {
> struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node);
> float percent;
>
> @@ -542,6 +614,9 @@ print_entries:
> MAP__FUNCTION, fp);
> fprintf(fp, "%.10s end\n", graph_dotted_line);
> }
> +
> + if (symbol_conf.report_hierarchy)
> + h->unfolded = true;

what's this for?

thanks,
jirka

\
 
 \ /
  Last update: 2016-02-10 13:41    [W:0.178 / U:1.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site