On Thu, Jan 19, 2006 at 08:30:33PM +0100, Philip Mucci wrote: > Yup...just looked at the code...should be simple to adapt...I'll give it > a spin on perfmon2...the only thing that seems to be obviously wrong are > the missing arguments to PFM_CREATE_CONTEXT. > Yes, they are using the old perfmon2 interface available just on IA-64. This perfmonctl() call is still available for backward compatibility reason but ONLY on Ia-64. For all other platforms you need to use the pfm_*() system calls. In fact, I think that even on IA-64 they should eventaully migrate to this model.