Re: [RFC] perf annotate: option to report global percentage

2018-08-03 Thread Stephane Eranian
On Fri, Aug 3, 2018 at 8:51 AM Arnaldo Carvalho de Melo wrote: > > Em Fri, Aug 03, 2018 at 01:29:55PM +0200, Jiri Olsa escreveu: > > On Fri, Aug 03, 2018 at 12:28:16AM -0700, Stephane Eranian wrote: > > > On Tue, Jul 31, 2018 at 2:21 AM Jiri Olsa wrote: > > > > there's the 'p' key to switch betwe

Re: [RFC] perf annotate: option to report global percentage

2018-08-03 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 03, 2018 at 01:29:55PM +0200, Jiri Olsa escreveu: > On Fri, Aug 03, 2018 at 12:28:16AM -0700, Stephane Eranian wrote: > > On Tue, Jul 31, 2018 at 2:21 AM Jiri Olsa wrote: > > > there's the 'p' key to switch between local and global period > > > I haven't added any command line option f

Re: [RFC] perf annotate: option to report global percentage

2018-08-03 Thread Jiri Olsa
On Fri, Aug 03, 2018 at 12:28:16AM -0700, Stephane Eranian wrote: > Hi Jiri, > On Tue, Jul 31, 2018 at 2:21 AM Jiri Olsa wrote: > > > > On Thu, Jul 19, 2018 at 10:25:39AM +0200, Jiri Olsa wrote: > > > On Wed, Jul 18, 2018 at 02:55:14PM -0700, Stephane Eranian wrote: > > > > Hi Jiri, > > > > > > >

Re: [RFC] perf annotate: option to report global percentage

2018-08-03 Thread Stephane Eranian
Hi Jiri, On Tue, Jul 31, 2018 at 2:21 AM Jiri Olsa wrote: > > On Thu, Jul 19, 2018 at 10:25:39AM +0200, Jiri Olsa wrote: > > On Wed, Jul 18, 2018 at 02:55:14PM -0700, Stephane Eranian wrote: > > > Hi Jiri, > > > > > > As far as I know, once you go into annotate mode, via perf report TUI > > > mode

Re: [RFC] perf annotate: option to report global percentage

2018-07-31 Thread Jiri Olsa
On Thu, Jul 19, 2018 at 10:25:39AM +0200, Jiri Olsa wrote: > On Wed, Jul 18, 2018 at 02:55:14PM -0700, Stephane Eranian wrote: > > Hi Jiri, > > > > As far as I know, once you go into annotate mode, via perf report TUI > > mode, the percentage you see per instruction is relative to the > > function

Re: [RFC] perf annotate: option to report global percentage

2018-07-19 Thread Jiri Olsa
On Wed, Jul 18, 2018 at 02:55:14PM -0700, Stephane Eranian wrote: > Hi Jiri, > > As far as I know, once you go into annotate mode, via perf report TUI > mode, the percentage you see per instruction is relative to the > function. I would like the option to display the total percentage, > i..e, the

[RFC] perf annotate: option to report global percentage

2018-07-18 Thread Stephane Eranian
Hi Jiri, As far as I know, once you go into annotate mode, via perf report TUI mode, the percentage you see per instruction is relative to the function. I would like the option to display the total percentage, i..e, the importance of the instruction for the entire run. Right now, if I want that, I