Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-10 Thread Namhyung Kim
Hi David, On Tue, Mar 10, 2015 at 08:25:27AM -0600, David Ahern wrote: > On 3/10/15 12:06 AM, Namhyung Kim wrote: > >Hi Arnaldo, > > > >On Mon, Mar 09, 2015 at 10:21:35AM -0300, Arnaldo Carvalho de Melo wrote: > >>For trace I need to take advantage of the fact that each mmap is ordered >

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-10 Thread David Ahern
On 3/10/15 12:06 AM, Namhyung Kim wrote: Hi Arnaldo, On Mon, Mar 09, 2015 at 10:21:35AM -0300, Arnaldo Carvalho de Melo wrote: For trace I need to take advantage of the fact that each mmap is ordered already and then just sort by the timestamp in the mmap head, etc. In retrospect, the

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-10 Thread Namhyung Kim
Hi Arnaldo, On Mon, Mar 09, 2015 at 10:21:35AM -0300, Arnaldo Carvalho de Melo wrote: > For trace I need to take advantage of the fact that each mmap is ordered > already and then just sort by the timestamp in the mmap head, etc. > > In retrospect, the perf.data file should have kept that

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-10 Thread Namhyung Kim
Hi Arnaldo, On Mon, Mar 09, 2015 at 10:21:35AM -0300, Arnaldo Carvalho de Melo wrote: For trace I need to take advantage of the fact that each mmap is ordered already and then just sort by the timestamp in the mmap head, etc. In retrospect, the perf.data file should have kept that ordering,

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-10 Thread David Ahern
On 3/10/15 12:06 AM, Namhyung Kim wrote: Hi Arnaldo, On Mon, Mar 09, 2015 at 10:21:35AM -0300, Arnaldo Carvalho de Melo wrote: For trace I need to take advantage of the fact that each mmap is ordered already and then just sort by the timestamp in the mmap head, etc. In retrospect, the

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-10 Thread Namhyung Kim
Hi David, On Tue, Mar 10, 2015 at 08:25:27AM -0600, David Ahern wrote: On 3/10/15 12:06 AM, Namhyung Kim wrote: Hi Arnaldo, On Mon, Mar 09, 2015 at 10:21:35AM -0300, Arnaldo Carvalho de Melo wrote: For trace I need to take advantage of the fact that each mmap is ordered already and then

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-09 Thread Arnaldo Carvalho de Melo
Em Sat, Mar 07, 2015 at 02:45:24PM +0200, Adrian Hunter escreveu: > On 4/03/2015 3:07 a.m., Arnaldo Carvalho de Melo wrote: > >Em Wed, Mar 04, 2015 at 10:01:23AM +0900, Namhyung Kim escreveu: > >>On Tue, Mar 03, 2015 at 01:49:40PM -0300, Arnaldo Carvalho de Melo wrote: > >>> Just a preview, but

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-09 Thread Arnaldo Carvalho de Melo
Em Sat, Mar 07, 2015 at 02:45:24PM +0200, Adrian Hunter escreveu: On 4/03/2015 3:07 a.m., Arnaldo Carvalho de Melo wrote: Em Wed, Mar 04, 2015 at 10:01:23AM +0900, Namhyung Kim escreveu: On Tue, Mar 03, 2015 at 01:49:40PM -0300, Arnaldo Carvalho de Melo wrote: Just a preview, but this is

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-07 Thread Adrian Hunter
On 4/03/2015 3:07 a.m., Arnaldo Carvalho de Melo wrote: Em Wed, Mar 04, 2015 at 10:01:23AM +0900, Namhyung Kim escreveu: On Tue, Mar 03, 2015 at 01:49:40PM -0300, Arnaldo Carvalho de Melo wrote: Hi, Just a preview, but this is something David had mentioned at some point, a major

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-07 Thread Adrian Hunter
On 4/03/2015 3:07 a.m., Arnaldo Carvalho de Melo wrote: Em Wed, Mar 04, 2015 at 10:01:23AM +0900, Namhyung Kim escreveu: On Tue, Mar 03, 2015 at 01:49:40PM -0300, Arnaldo Carvalho de Melo wrote: Hi, Just a preview, but this is something David had mentioned at some point, a major

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-03 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 04, 2015 at 10:01:23AM +0900, Namhyung Kim escreveu: > On Tue, Mar 03, 2015 at 01:49:40PM -0300, Arnaldo Carvalho de Melo wrote: > > Hi, > > > > Just a preview, but this is something David had mentioned at some > > point, a major problem with 'perf trace' was that it wasn't using

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-03 Thread Namhyung Kim
On Tue, Mar 03, 2015 at 01:49:40PM -0300, Arnaldo Carvalho de Melo wrote: > Hi, > > Just a preview, but this is something David had mentioned at some > point, a major problem with 'perf trace' was that it wasn't using > 'perf_session' event reordering mechanism, so I've been working on

heads up/RFC: 'perf trace' using ordered_events

2015-03-03 Thread Arnaldo Carvalho de Melo
Hi, Just a preview, but this is something David had mentioned at some point, a major problem with 'perf trace' was that it wasn't using 'perf_session' event reordering mechanism, so I've been working on making it use it, refactoring the ordered_events code so that it can be used by tools

heads up/RFC: 'perf trace' using ordered_events

2015-03-03 Thread Arnaldo Carvalho de Melo
Hi, Just a preview, but this is something David had mentioned at some point, a major problem with 'perf trace' was that it wasn't using 'perf_session' event reordering mechanism, so I've been working on making it use it, refactoring the ordered_events code so that it can be used by tools

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-03 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 04, 2015 at 10:01:23AM +0900, Namhyung Kim escreveu: On Tue, Mar 03, 2015 at 01:49:40PM -0300, Arnaldo Carvalho de Melo wrote: Hi, Just a preview, but this is something David had mentioned at some point, a major problem with 'perf trace' was that it wasn't using

Re: heads up/RFC: 'perf trace' using ordered_events

2015-03-03 Thread Namhyung Kim
On Tue, Mar 03, 2015 at 01:49:40PM -0300, Arnaldo Carvalho de Melo wrote: Hi, Just a preview, but this is something David had mentioned at some point, a major problem with 'perf trace' was that it wasn't using 'perf_session' event reordering mechanism, so I've been working on making it