Will,

On Wed, Oct 24, 2007 at 02:53:17PM -0400, William Cohen wrote:
> 
> I don't have access to the actual family 6 model 14 machine; it's student's 
> machine. Doing some additional experiments it appears that the module is 
> being installed and pfmon is able to list events:
> 
> /// dmesg | grep perfmon output: (this is after doing echo 8 > ...../printk)
> perfmon: version 2.7, compiled: Oct 17 2007, 23:18:17
> perfmon: added sampling format default
> perfmon: detected architecural perfmon v1
> perfmon: num_gen=2 width=40 num_fixed=0 width=0
> perfmon: Intel architectural PMU detected, 2 PMCs, 2 PMDs, 2 counters (31 
> bits)
> perfmon: Intel architectural PMU installed
> 
> /// lsmod | grep perfmon output:
> perfmon_intel_arch 25096 0
> 
that part looks good.

> /// pfmon -l output
> UNHALTED_CORE_CYCLES
> UNHALTED_REFERENCE_CYCLES
> INSTRUCTIONS_RETIRED
> LAST_LEVEL_CACHE_REFERENCE
> LAST_LEVEL_CACHE_MISSES
> BRANCH_INSTRUCTIONS_RETIRED
> MISPREDICTED_BRANCH_RETIRED
> LD_BLOCKS
> SD_DRAINS

This part looks bad. I think libpfm thinks this is an Intel Core processor
whereas the kernel think this is Intel architectural perfmon v1.

> 
> However, when attempting to select events with -e with something on the 
> list or just using the default it always fails.
> 
> -Will
That does not surprise me, especially if you pick unhalted_core_cycles.

Let me check libpfm.

-- 

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

Reply via email to