Re: [PATCH] perf tools: Properly set the value of 'old' and 'head' in snapshot mode

2019-06-09 Thread Leo Yan
Hi Arnaldo, On Fri, Jun 07, 2019 at 03:23:25PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Jun 07, 2019 at 02:44:25PM +0800, Leo Yan escreveu: > > On Thu, Jun 06, 2019 at 05:10:56PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Wed, Jun 05, 2019 at 10:16:33AM -0600, Mathieu Poirier

Re: [PATCH] perf tools: Properly set the value of 'old' and 'head' in snapshot mode

2019-06-07 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 07, 2019 at 02:44:25PM +0800, Leo Yan escreveu: > On Thu, Jun 06, 2019 at 05:10:56PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Jun 05, 2019 at 10:16:33AM -0600, Mathieu Poirier escreveu: > > > This patch adds the necessay intelligence to properly compute the value > > > of

Re: [PATCH] perf tools: Properly set the value of 'old' and 'head' in snapshot mode

2019-06-07 Thread Mathieu Poirier
On Thu, 6 Jun 2019 at 14:11, Arnaldo Carvalho de Melo wrote: > > Em Wed, Jun 05, 2019 at 10:16:33AM -0600, Mathieu Poirier escreveu: > > This patch adds the necessay intelligence to properly compute the value > > of 'old' and 'head' when operating in snapshot mode. That way we can get > > the

Re: [PATCH] perf tools: Properly set the value of 'old' and 'head' in snapshot mode

2019-06-07 Thread Leo Yan
On Thu, Jun 06, 2019 at 05:10:56PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Jun 05, 2019 at 10:16:33AM -0600, Mathieu Poirier escreveu: > > This patch adds the necessay intelligence to properly compute the value > > of 'old' and 'head' when operating in snapshot mode. That way we can get

Re: [PATCH] perf tools: Properly set the value of 'old' and 'head' in snapshot mode

2019-06-06 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 05, 2019 at 10:16:33AM -0600, Mathieu Poirier escreveu: > This patch adds the necessay intelligence to properly compute the value > of 'old' and 'head' when operating in snapshot mode. That way we can get > the latest information in the AUX buffer and be compatible with the > generic

[PATCH] perf tools: Properly set the value of 'old' and 'head' in snapshot mode

2019-06-05 Thread Mathieu Poirier
This patch adds the necessay intelligence to properly compute the value of 'old' and 'head' when operating in snapshot mode. That way we can get the latest information in the AUX buffer and be compatible with the generic AUX ring buffer mechanic. Signed-off-by: Mathieu Poirier ---