Re: [PATCH resend] perf top: Add a visual cue for toggle zeroing of samples

From: Arnaldo Carvalho de Melo
Date: Wed Oct 15 2014 - 14:48:22 EST


Em Wed, Oct 08, 2014 at 09:48:48AM +0900, Namhyung Kim escreveu:
> Hi Taeung,
>
> On Tue, 7 Oct 2014 16:13:15 +0900, Taeung Song wrote:
> > When 'perf top' is run, one can't easily find a difference
> > between -z option and normal output.
> > So I added a visual cue to know whether it is the zeroing or not.
> >
> > Output is as below.
> >
> > Before:
> > $ perf top
> >
> > Samples: 61K of event 'cycles', Event count (approx.): 3908136933
> > Overhead Shared Object Symbol
> > 1.42% firefox [.] 0x0000000000011e76
> > 1.32% libpthread-2.17.so [.] pthread_mutex_lock
> >
> > If you press key 'z' or run with zero option like '$ perf top --zero', it is as below.
> >
> > After:
> > Samples: 61K of event 'cycles', Event count (approx.): 3908136933 [z]
> > Overhead Shared Object Symbol
> > 1.42% firefox [.] 0x0000000000011e76
> > 1.32% libpthread-2.17.so [.] pthread_mutex_lock
> >
> > Signed-off-by: Taeung Song <treeze.taeung@xxxxxxxxx>
>
> Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Thanks, applied.

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