linux-mips
[Top] [All Lists]

Re: 2.6.13-rc2 perfmon2 new code base with MIPS5K/20K support + libpfm a

To: Philip Mucci <mucci@cs.utk.edu>
Subject: Re: 2.6.13-rc2 perfmon2 new code base with MIPS5K/20K support + libpfm available
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 19 Jan 2006 13:36:09 +0000
Cc: Linux-mips@linux-mips.org, perfmon@napali.hpl.hp.com, Stephane Eranian <eranian@hpl.hp.com>
In-reply-to: <1137666602.6648.80.camel@localhost.localdomain>
Original-recipient: rfc822;Linux-mips@linux-mips.org
References: <1137666602.6648.80.camel@localhost.localdomain>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
On Thu, Jan 19, 2006 at 11:30:02AM +0100, Philip Mucci wrote:

> Below is an announcement of the kernel perfmon/libpfm support and user
> library for hardware performance monitoring on MIPS (and other
> platforms). This support mirrors that which has been available on IA64
> for quite some time and is an effort by Stefane Eranian, David Gibson
> myself and others to establish a fully functional kernel substrate for
> hardware performance analysis. This is based on a large body of
> work/experience with PM kernel support both on Linux and many other
> systems.
> 
> Note that the MIPS support is based on a 2.6.13-rc2 snapshot of the LM
> code base, soon to be updated to 2.6.15. If you want to patch against
> the head, you'll probably have to fix up the syscall numbers.
> 
> I have tested the code on a 20K system + 64bit kernel (that has 1 entire
> PMC register) and soon will be testing on a 5K system when it comes back
> from being serviced. n32/n64 ABI's have not yet been tested but support
> is there.
> 
> PAPI is also in the works for these systems. Feel free to give it a spin
> and tell us where it breaks or otherwise offends you. 
> 
> Regards,
> 
> Philip
> 
> P.S. The code should be relatively easy to extend to other members of
> the product line...currently I've only got kernel code in for
> 5K/20K/25K, which are nearly identical as far as the PMC goes. 

More recently myself and others have verified that Oprofile is working
on the 5K, 20K, 24K, 25K cores and the SB1 and SB1A cores in the Sibyte
SOCs - and a few more in the queue.  So now I wonder how perfmon2 is
going to interfear with oprofile which already is in the kernel?

I've put a quick page into the wiki at http://www.linux-mips.org/wiki/Perfmon2
It's really just a starting point but people should know what's there.

  Ralf

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