Re: [PATCH 2/2] perf top: Handle 'z' key for toggle zeroing samples in TUI

2014-08-18 Thread Namhyung Kim
On Wed, 13 Aug 2014 22:47:43 +0200, Stephane Eranian wrote: > On Wed, Aug 13, 2014 at 10:37 PM, Arnaldo Carvalho de Melo > wrote: >> >> Em Wed, Aug 13, 2014 at 01:07:30AM +0200, Stephane Eranian escreveu: >> > On Tue, Aug 12, 2014 at 10:16 AM, Namhyung Kim wrote: >> > > The perf top TUI lacks 'z'

Re: [PATCH 2/2] perf top: Handle 'z' key for toggle zeroing samples in TUI

2014-08-13 Thread Stephane Eranian
On Wed, Aug 13, 2014 at 10:37 PM, Arnaldo Carvalho de Melo wrote: > > Em Wed, Aug 13, 2014 at 01:07:30AM +0200, Stephane Eranian escreveu: > > On Tue, Aug 12, 2014 at 10:16 AM, Namhyung Kim wrote: > > > The perf top TUI lacks 'z' key support to toggle sample zeroing. > > > Add it. > > > > > Works

Re: [PATCH 2/2] perf top: Handle 'z' key for toggle zeroing samples in TUI

2014-08-13 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 13, 2014 at 01:07:30AM +0200, Stephane Eranian escreveu: > On Tue, Aug 12, 2014 at 10:16 AM, Namhyung Kim wrote: > > The perf top TUI lacks 'z' key support to toggle sample zeroing. > > Add it. > > > Works for me. > Tested-by: Stephane Eranian One thing that can be improved: Make it

Re: [PATCH 2/2] perf top: Handle 'z' key for toggle zeroing samples in TUI

2014-08-12 Thread Stephane Eranian
On Tue, Aug 12, 2014 at 10:16 AM, Namhyung Kim wrote: > The perf top TUI lacks 'z' key support to toggle sample zeroing. > Add it. > Works for me. Tested-by: Stephane Eranian > Reported-by: Stephane Eranian > Signed-off-by: Namhyung Kim > --- > tools/perf/ui/browsers/hists.c | 9 + >

[PATCH 2/2] perf top: Handle 'z' key for toggle zeroing samples in TUI

2014-08-12 Thread Namhyung Kim
The perf top TUI lacks 'z' key support to toggle sample zeroing. Add it. Reported-by: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 9 + 1 file changed, 9 insertions(+) diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hists.c inde