On Mon, 2007-10-22 at 01:34 -0700, Stephane Eranian wrote:
> Yanmin,
> 
> On Mon, Oct 22, 2007 at 10:55:08AM +0800, Zhang, Yanmin wrote:
> > > > Looks like it finds the hardware, but later fails to register it (line 
> > > > with 
> > > > "error -16", -EBUSY. So something like the following to generate some 
> > > > more 
> > > > detail information information from the PFM_INFO's would be useful:
> > > > 
> > > In perfmon_intel_core.c, look at the :
> > > 
> > > static int pfm_core_probe_pmu(void)
> > > {
> > >         unsigned int i;
> > > 
> > >         /*
> > >          * Check for Intel Core processor explicitely
> > >          * Checking for cpu_has_perfmon is not enough as this
> > >          * matches intel Core Duo/Core Solo but none supports
> > >          * PEBS.
> > >          *
> > >          * Intel Core = arch perfmon v2 + PEBS
> > >          */
> > >         if (cpu_data->x86 != 6 || cpu_data->x86_model != 15)
> > > 
> > > If you come in with 6,14, this should fail. But it seems you have things
> > > compiled in, so maybe there is something wrong there
> > I ran into the same issue on my new quad-core machine. Is there any update?
> > 
> 
> Are you compiling all the PMU description files as modules or builtin?
Builtin.

> 
> > My cpu family is 6 and model is 15.
> > 
> 
> This should use perfmon_intel_core.
> 
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to