RE: ptrace API extensions for BTS

2008-01-31 Thread Metzger, Markus T
>-Original Message- >From: stephane eranian [mailto:[EMAIL PROTECTED] >Sent: Donnerstag, 31. Januar 2008 12:16 >I looked at your code. My understanding is that it abstracts the BTS >so that higher >level code does not have to know the intricacies of the implementation >especially >given t

Re: ptrace API extensions for BTS

2008-01-31 Thread stephane eranian
Markus, I looked at your code. My understanding is that it abstracts the BTS so that higher level code does not have to know the intricacies of the implementation especially given that the changed the DS_AREA structure a lot between P4 and Core 2. The code does not cover PEBS though. In the case

Re: ptrace API extensions for BTS

2008-01-30 Thread stephane eranian
Markus, On Jan 30, 2008 1:52 PM, Metzger, Markus T <[EMAIL PROTECTED]> wrote: > >From: stephane eranian [mailto:[EMAIL PROTECTED] > >Sent: Mittwoch, 30. Januar 2008 12:01 > > >You can get information about the perfmon2 project at: > >http://perfmon2.sf.net > > I downloaded your patch for 2.6.23 an

RE: ptrace API extensions for BTS

2008-01-30 Thread Metzger, Markus T
>From: stephane eranian [mailto:[EMAIL PROTECTED] >Sent: Mittwoch, 30. Januar 2008 12:01 >You can get information about the perfmon2 project at: >http://perfmon2.sf.net I downloaded your patch for 2.6.23 and cloned your git repository. >From a first glance, it looks like there is indeed a lot

Re: ptrace API extensions for BTS

2008-01-30 Thread stephane eranian
Hello Markus, On Jan 30, 2008 11:32 AM, Metzger, Markus T <[EMAIL PROTECTED]> wrote: > >From: Roland McGrath [mailto:[EMAIL PROTECTED] > >Sent: Mittwoch, 30. Januar 2008 08:26 > >To: Metzger, Markus T > > >I think this work has a great deal of overlap with the > >perfmon2 project. > >There are two

RE: ptrace API extensions for BTS

2008-01-30 Thread Metzger, Markus T
>From: Roland McGrath [mailto:[EMAIL PROTECTED] >Sent: Mittwoch, 30. Januar 2008 08:26 >To: Metzger, Markus T >I think this work has a great deal of overlap with the >perfmon2 project. >There are two facets that overlap, which together are the >whole BTS feature. > >The same x86 "debug store" h

Re: ptrace API extensions for BTS

2008-01-29 Thread Roland McGrath
Sorry I did not get more into this discussion earlier. I still have not read through all of the email threads. But I have looked over the current version of your code now in -mm. I think this work has a great deal of overlap with the perfmon2 project. There are two facets that overlap, which tog

RE: ptrace API extensions for BTS

2007-12-07 Thread Metzger, Markus T
>From: Andi Kleen [mailto:[EMAIL PROTECTED] >Sent: Freitag, 7. Dezember 2007 14:04 >With Out-of-order CPUs exact global metrics are pretty difficult. >At which point of the instruction execution would you measure? All I want to do is order the execution chunks of different threads. Taking two

Re: ptrace API extensions for BTS

2007-12-07 Thread Andi Kleen
On Friday 07 December 2007 13:01:28 Metzger, Markus T wrote: > >From: Andi Kleen [mailto:[EMAIL PROTECTED] > >Sent: Freitag, 7. Dezember 2007 12:18 > > >> I would like to settle the discussion and find an interface that > >> everybody can agree to, so I can implement that interface and we can > >

RE: ptrace API extensions for BTS

2007-12-07 Thread Metzger, Markus T
>From: Andi Kleen [mailto:[EMAIL PROTECTED] >Sent: Freitag, 7. Dezember 2007 12:18 >> I would like to settle the discussion and find an interface that >> everybody can agree to, so I can implement that interface and we can >> move forward with the patch. > >The most efficient interface would be z

Re: ptrace API extensions for BTS

2007-12-07 Thread Andi Kleen
On Friday 07 December 2007 10:11:04 Metzger, Markus T wrote: > Roland, Andi, > > I would like to discuss the ptrace user interface for the BTS extension. > In previous emails, > Andi suggested a stream-like interface, but is also OK with an > array-like interface (as far as I understood). > Rolan