Re: [perfmon2] new 2.6.28 perfmon2, libpfm, and pfmon versions available

2009-02-24 Thread stephane eranian
Vince, On Tue, Feb 24, 2009 at 11:17 PM, Vince Weaver wrote: > Hello > > just two minor problems with the MIPS/r12k support.  Otherwise version 3.8 > of the utilities seems to be working great for me on MIPS. > > First a problem with libpfm, on mips libpfm won't compile because >   void adjust__p

Re: [perfmon2] new 2.6.28 perfmon2, libpfm, and pfmon versions available

2009-02-24 Thread Vince Weaver
Hello just two minor problems with the MIPS/r12k support. Otherwise version 3.8 of the utilities seems to be working great for me on MIPS. First a problem with libpfm, on mips libpfm won't compile because void adjust__pfmlib_sys_base() does not exist. The following patch is needed (note it

Re: [perfmon2] switch event set on PMD overflow

2009-02-24 Thread stephane eranian
Hi, On Tue, Feb 24, 2009 at 3:11 AM, wrote: > hi all, >    I am using perfmon kernel v2.6 with pfmlib v3.5. Can I switch event > sets on overflow of a specific PMD register? > Yes, you can. You need to set the flag PFM_SETFL_OVFL_SWITCH on the event set using the pfm_create_event_sets() syscall