Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1331112
| From | Jiri Olsa <jolsa@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 14/23] perf ui/stdio: Implement hierarchy output mode |
| Date | 2016-02-10 13:30 +0100 |
| Message-ID | <r0C4a-28R-1@gated-at.bofh.it> (permalink) |
| References | <qYOj8-ED-9@gated-at.bofh.it> <qYOj8-ED-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH 14/23] perf ui/stdio: Implement hierarchy output mode Jiri Olsa <jolsa@redhat.com> - 2016-02-10 13:30 +0100
Re: [PATCH 14/23] perf ui/stdio: Implement hierarchy output mode Jiri Olsa <jolsa@redhat.com> - 2016-02-10 13:40 +0100
Re: [PATCH 14/23] perf ui/stdio: Implement hierarchy output mode Namhyung Kim <namhyung@kernel.org> - 2016-02-10 15:30 +0100
csiph-web