Phil, If you pull from CVS, you should have all the changes below.
Thanks. > BTW, the MIPS LIBPFM code I have needed some fixes for 64 bit builds as > well as some other minor things. > > 1) Change uint32_t to unsigned int in lib/pfmlib_gen_mips64_priv.h > 2) Add perfmon/pfmlib_gen_mips64.h to include/Makefile at line 92 > 3) Code for get_event_counters should look like this: > > *code = 0xff & (gen_mips64_pe[i].pme_code >> (cnt*8)); > Instead of: > < *code = 0xf & (gen_mips64_pe[i].pme_code >> (cnt*4)); > 4) Fix up domain bits to be 'standardized' > diff -r1.5 pfmlib_gen_mips64.h > 35,37c35,37 > < * PFM_PLM0 = SUPERVISOR > < * PFM_PLM1 = INTERRUPT > < * PFM_PLM2 = KERNEL > --- > > * PFM_PLM0 = KERNEL > > * PFM_PLM2 = INTERRUPT > > * PFM_PLM1 = SUPERVISOR > In stuff_regs: > < reg.sel_os = plm & PFM_PLM2 ? 1 : 0; > --- > > reg.sel_os = plm & PFM_PLM0 ? 1 : 0; > > reg.sel_exl = plm & PFM_PLM2 ? 1 : 0; > 202d227 > < reg.sel_exl = plm & PFM_PLM0 ? 1 : 0; > > -- -Stephane _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
