Stephane Eranian wrote:
Will,

On Mon, Oct 15, 2007 at 01:10:53PM -0400, William Cohen wrote:
Stephane Eranian wrote:
Will,

No that is not the right PMU module. Family 6, model 14 is an
Intel Core Duo/Solo. This processor is not based on the Intel Core
micro-architecture but on Yonah. It implements the architectural
perfmon v1. Perfmon2 can automtically detect it and use the
perfmon_intel_arch module.
oh, so the check should be in the pfm_p6_probe_pmu()? Like the attached patch?

No. Perfmon2 will automatically load the right module on first use.

Starting with Intel Core Duo/Solo, there is another mechanism
to check the PMU model not based on family/model. The kernel
takes care of this in the generic code (see has_arch_perfmon).

Hi Stephane,

Below is the part of dmesg related to perfmon processors identification:

perfmon: unsupported CPU model 14
perfmon: Intel P6 processor Family PMU detection failed
perfmon: unsupported family=6
perfmon: Intel P4 PMU detection failed
perfmon: nmi_watchdog=-1 nmi_active=0 force_nmi=0
perfmon: PEBS supported, enabled
perfmon: Intel Core PMU detected, 4 PMCs, 5 PMDs, 5 counters (31 bits)
perfmon: Intel Core PMU installed
perfmon: detected architecural perfmon v1
perfmon: num_gen=2 width=40 num_fixed=0 width=0
perfmon: register Intel architectural PMU error -16
perfmon: processor does not have PEBS support
perfmon: processor does not have PEBS support
perfmon: not an AMD processor
perfmon: AMD64 PMU detection failed

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:

echo 8 > /proc/sys/kernel/printk
pfmon ls

The look through dmesg output for perfmon related output. Sreekanth, is there anything interesting generated from this?

-Will
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to