lkml.org 
[lkml]   [2015]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V3 1/4] perf: Add PERF_RECORD_SWITCH to indicate context switches
Em Wed, Jul 08, 2015 at 04:42:03PM +0300, Adrian Hunter escreveu:
> On 08/07/15 16:28, Arnaldo Carvalho de Melo wrote:
> > Em Wed, Jul 08, 2015 at 12:52:40AM +0200, Peter Zijlstra escreveu:
> >> On Tue, Jul 07, 2015 at 01:13:59PM -0300, Arnaldo Carvalho de Melo wrote:
> >>> Em Tue, Jul 07, 2015 at 05:36:14PM +0200, Peter Zijlstra escreveu:
> >> I was just thinking that 2 records, each with a fixed layout would be
> >> easier to parse than 1 record with variable layout.

> >> The record space is immense, so from that point it really doesn't
> >> matter.

> > We could do a land grab at some point there, if/when we find some reason
> > for that... :-)

> >> Do whatever is easiest, less mistakes get made etc. :-)

> >> No real preference either way, as long we we've thought about it.

> > Right, I just don't want to have two u32 carrying -1 for no reason.

> So you'd be OK with 2 RECORD types?

Yeah, no problem.

> I will see what is involved.

Ok.

- Arnaldo


\
 
 \ /
  Last update: 2015-07-08 17:21    [W:0.453 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site