Re: [PATCH 20/22] 2.6.22-rc3 perfmon2 : new x86_64 files

2007-06-07 Thread Robert Richter
Stephane, > > > + > > > + if (current_cpu_data.x86 != 15) { > > > + PFM_INFO("unsupported family=%d", current_cpu_data.x86); > > > + return -1; > > > + } > > > > Already obsolete with Barcelona and Griffin (16 and 17) but very similar > > counters. > > > Yes, but those will get

Re: [PATCH 20/22] 2.6.22-rc3 perfmon2 : new x86_64 files

2007-05-31 Thread Stephane Eranian
Andi, On Thu, May 31, 2007 at 04:38:52PM +0200, Andi Kleen wrote: > Stephane Eranian <[EMAIL PROTECTED]> writes: > > > + /* test IA32_PMC0, IA32_PMC1 */ > > + for (i=4; i < 6; i++) { > > + if (avail_to_resrv_perfctr_nmi(pfm_core_pmd_desc[i].hw_addr)) > > + continue

Re: [PATCH 20/22] 2.6.22-rc3 perfmon2 : new x86_64 files

2007-05-31 Thread Andi Kleen
Stephane Eranian <[EMAIL PROTECTED]> writes: > + /* test IA32_PMC0, IA32_PMC1 */ > + for (i=4; i < 6; i++) { > + if (avail_to_resrv_perfctr_nmi(pfm_core_pmd_desc[i].hw_addr)) > + continue; > + if (disabled != -1) { > + PFM_INF