I just installed the libpfm and pfmon on my new core i7 870 machine, but the
command *pfmon -I* command detected the PMU model as generic intel
architecture ("Intel architectural PMU") instead of Intel Nehalem. Digging
into the libpfm code, I found that the libpfm_intel_nhm.c identified only
value '26' for cpu_model for intel nehalem while the cpu model for core i7
870 is 30. Adding the switch case for value 30 (with same code as for 26)
in pfm_nhm_init and pfm_nhm_detect functions did the trick, or so it seems.
Before, the *pfmon -L *spit out just five counters, but now it spits out 450
counters, so it does seem to work. Is there anything else I should take care
of?
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to