Adnreas,

On Tue, May 02, 2006 at 09:29:54AM +0200, Andreas Hirstius wrote:
> 
> I have a few comments about the latest pfmon/perfmon2.
> 
> pfmon does not compile properly because in config.mk PFMROOTDIR is set 
> to /home/eranian/nueh/libpfm-3.2

Yes, I think it should be set to /usr/local

> ... and after changing this, a "make install" fails with:
> [...]
> make[1]: *** No rule to make target `check_support', needed by 
> `install'.  Stop.
> make[1]: Leaving directory `/usr/src/perfmon/pfmon-3.2-060426/pfmon'
> [...]
> after removing check_support, it works.

I thought I had removed this. You did the right thing. check_support is 
obsolete.

> 
> perfmon2 doesn't work on Sossamans because it doesn't know about the cpu 
> model Sossaman is model 14.
> I copied the "case" statements for model 13 which is supposed to be 
> Pentium-M and it seems to work.

Careful here, I don't know all the various Pentium models are their PMUs.
There is only support for Pentium M style PMU in libpfm and pfmon. If you know
for sure that your PMU model is like Pentium M, then it is safe to enabel 
support
in libpfm and pfmon. Otherwise you may get garbage.

> The Dempsey (family 15, model 6)  is also not handled properly, but I 
> couldn't check whether a simple copy of model 5 would work.
> 
Do you have an Intel document that clearly describes the various models and 
their
PMU support. I would expect more models to follow the Pentium 4/Xeon PMU rather
than the Pentium M PMU.

-- 

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

Reply via email to