linux-mips
[Top] [All Lists]

Re: [perfmon] Re: 2.6.13-rc2 perfmon2 new code base with MIPS5K/20K supp

To: Philip Mucci <mucci@cs.utk.edu>
Subject: Re: [perfmon] Re: 2.6.13-rc2 perfmon2 new code base with MIPS5K/20K support + libpfm available
From: Stephane Eranian <eranian@hpl.hp.com>
Date: Thu, 19 Jan 2006 11:59:18 -0800
Address: HP Labs, 1U-17, 1501 Page Mill road, Palo Alto, CA 94304, USA.
Cc: perfmon@napali.hpl.hp.com, Linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
E-mail: eranian@hpl.hp.com
In-reply-to: <1137699033.15290.36.camel@localhost.localdomain>
Organisation: HP Labs Palo Alto
Original-recipient: rfc822;Linux-mips@linux-mips.org
References: <1137666602.6648.80.camel@localhost.localdomain> <20060119133609.GA3398@linux-mips.org> <20060119181608.GP19622@frankl.hpl.hp.com> <1137695936.6648.268.camel@localhost.localdomain> <20060119191403.GV19622@frankl.hpl.hp.com> <1137699033.15290.36.camel@localhost.localdomain>
Reply-to: eranian@hpl.hp.com
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
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.


<Prev in Thread] Current Thread [Next in Thread>