Re: OProfile issues

2007-06-12 Thread Björn Steinbrink
On 2007.06.12 08:02:46 -0700, Stephane Eranian wrote: > Hello, > > I am working on perfmon2 to allow Oprofile and perfmon2 to co-exist > as suggested by Andi Kleen. I looked at the Oprofile init/shutdown > code and I am puzzled by several things which you might be able to > explain for me. I am lo

Re: OProfile issues

2007-06-12 Thread Chuck Ebbert
On 06/12/2007 11:02 AM, Stephane Eranian wrote: > * allocate_msrs() allocates two tables per CPU. One for the >counters, the other for the eventsel registers. But then >nmi_setup() copies the cpu_msrs[0] into cpu_msrs[] of all >other cpus. This operation overrides the cpu_msrs[].counte

Re: OProfile issues

2007-06-12 Thread Chris Wright
* Stephane Eranian ([EMAIL PROTECTED]) wrote: > * allocate_msrs() allocates two tables per CPU. One for the >counters, the other for the eventsel registers. But then >nmi_setup() copies the cpu_msrs[0] into cpu_msrs[] of all >other cpus. This operation overrides the cpu_msrs[].counters

OProfile issues

2007-06-12 Thread Stephane Eranian
Hello, I am working on perfmon2 to allow Oprofile and perfmon2 to co-exist as suggested by Andi Kleen. I looked at the Oprofile init/shutdown code and I am puzzled by several things which you might be able to explain for me. I am looking at 2.6.22-rc3. Here are the issues: * model->fill_in_addr