Re: [perfmon2] weird counts for instruction cache misses on Core i7 (vs Core 2)

2009-07-16 Thread Kenneth Hoste
On Jul 15, 2009, at 03:26 , stephane eranian wrote: Ken, On Fri, Jul 3, 2009 at 10:01 PM, Kenneth Hoste wrote: On Jul 1, 2009, at 07:03 , stephane eranian wrote: Kenneth, Let me check on this with Intel. Thanks! Any news yet? I can confirm that the following events do indeed overco

[perfmon2] PCL in the tree

2009-07-16 Thread Dan Terpstra
Looks like Performance Counters for Linux (PCL) has made it into the 2.6.31 kernel tree: http://lwn.net/Articles/339361/ -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in

Re: [perfmon2] About per-thread monitoring

2009-07-16 Thread Tanima Dey
Hi, I am trying to read the performance counters for the per-thread non-self monitoring session. There will be two threads, application and the monitor thread. The application will be running itself and the monitor thread will read the counters only for the application thread. I am trying to lo

Re: [perfmon2] PCL in the tree

2009-07-16 Thread stephane eranian
On Thu, Jul 16, 2009 at 5:54 PM, Dan Terpstra wrote: > Looks like Performance Counters for Linux (PCL) has made it into the 2.6.31 > kernel tree: > >   http://lwn.net/Articles/339361/ > > I know about this. I also think it is disabled by default. They are still changing the ABI. There is no res

Re: [perfmon2] About per-thread monitoring

2009-07-16 Thread stephane eranian
Hi, On Thu, Jul 16, 2009 at 6:24 PM, Tanima Dey wrote: > Hi, > I am trying to read the performance counters for the per-thread non-self > monitoring session. There will be two threads, application and the monitor > thread.  The application will be running itself and the monitor thread will > read

Re: [perfmon2] About per-thread monitoring

2009-07-16 Thread Tanima Dey
Hi, Thanks for the reply. It is mentioned in the manual that the thread to which the context is attached is the monitored thread, in my case then it is the application thread to which the context should be loaded, right? If it is so, I am initializing and loading the context in the appThrea