Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1273669

Re: [PATCH v5 7/9] perf hists browser: Support folded callchains

From Namhyung Kim <namhyung@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v5 7/9] perf hists browser: Support folded callchains
Date 2015-11-20 02:50 +0100
Message-ID <qwIZQ-vP-13@gated-at.bofh.it> (permalink)
References <qsNv3-2fT-3@gated-at.bofh.it> <qsNv5-2fT-31@gated-at.bofh.it> <qwye5-1Zi-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Nov 19, 2015 at 11:19:38AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, Nov 09, 2015 at 02:45:44PM +0900, Namhyung Kim escreveu:
> > The folded callchain mode is to print all chains in a single line.
> > Currently perf report --tui doesn't support folded callchains.  Like
> > flat callchains, only leaf nodes are added to the final rbtree so it
> > should show entries in parent nodes.  To do that, add flat_val list to
> > struct callchain_node and show them along with the (normal) val list.
> > 
> > For example, folded callchain looks like below:
> > 
> >   $ perf report -g folded --tui
> >   Samples: 234  of event 'cycles:pp', Event count (approx.): 32605268
> >     Overhead  Command  Shared Object     Symbol
> >   -   39.93%  swapper  [kernel.vmlinux]  [k] intel_idle
> >      + 28.63% intel_idle; cpuidle_enter_state; cpuidle_enter; ...
> >      + 11.30% intel_idle; cpuidle_enter_state; cpuidle_enter; ...
> 
> The +/- before the folded callchains continue toggling, but with no, a
> further polishment is to elide them altogether, since they have no use.
> 
> Applied, that can be done on top.

Agreed.

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v5 7/9] perf hists browser: Support folded callchains Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-19 15:20 +0100
  Re: [PATCH v5 7/9] perf hists browser: Support folded callchains Namhyung Kim <namhyung@kernel.org> - 2015-11-20 02:50 +0100

csiph-web