Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Philip Mucci <mucci@cs.utk.edu>
To: Linux-mips@linux-mips.org
Cc: perfmon@napali.hpl.hp.com, Stephane Eranian <eranian@hpl.hp.com>
Subject: 2.6.13-rc2 perfmon2 new code base with MIPS5K/20K support + libpfm available
Date: Thu, 19 Jan 2006 11:30:02 +0100	[thread overview]
Message-ID: <1137666602.6648.80.camel@localhost.localdomain> (raw)

Hello Linux-MIPSers,

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. 

-------- Forwarded Message --------
From: Stephane Eranian <eranian@hpl.hp.com>
Reply-To: eranian@hpl.hp.com
To: linux-kernel@vger.kernel.org
Cc: linux-ia64@vger.kernel.org, perfmon@napali.hpl.hp.com,
perfctr-devel@lists.sourceforge.net
Subject: [Perfctr-devel] 2.6.16-rc1 perfmon2 new code base with
Montecito support + libpfm available
Date: Wed, 18 Jan 2006 12:56:30 -0800

Hello,

I have released a new version of the perfmon base package.
This release is relative to 2.6.16-rc1.

Due to the addition of the migrate_pages() system call, all perfmon
system calls have been shifted by one. As a consequence, you must
relink your applications using the new version of libpfm which
is also released today: libpfm-3.2-060118.

This new kernel patch includes several important changes:

	- added support for the Dual-Core Itanium 2 (Montecito) processor

	- working support for MIPS5K and MIPS20k (by Phil Mucci)

	- lots of cleanups in the PMU description modules. Some common
	  functionalities moved into core (masking of reserved fields)

	- PFM_REGFL_NEMUL64 managed from perfmon core

The new version of the library, libpfm, includes the following changes:

	- added support for MIPS5K, MIPS20K

	- added pfm_get_event_counter() interface with man page

	- added support for compiling using a 32-bit ABI on a 64-bit OS
	  (not available on all platforms, see config.mk)

	- reworked all standalone examples

	- cleanups and fixes in the generic examples

The two packages can be downloaded from the SourceForge website at:

	http://www.sf.net/projects/perfmon2

I will be posting the patches directly to LKML for
review very shortly.

Enjoy,

             reply	other threads:[~2006-01-19 10:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-19 10:30 Philip Mucci [this message]
2006-01-19 13:36 ` 2.6.13-rc2 perfmon2 new code base with MIPS5K/20K support + libpfm available Ralf Baechle
2006-01-19 14:04   ` Philip Mucci
2006-01-19 15:33     ` Nigel Stephens
2006-01-19 15:41       ` Philip Mucci
2006-01-19 18:16   ` Stephane Eranian
2006-01-19 18:38     ` [perfmon] " Philip Mucci
2006-01-19 19:14       ` Stephane Eranian
2006-01-19 19:30         ` Philip Mucci
2006-01-19 19:59           ` Stephane Eranian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1137666602.6648.80.camel@localhost.localdomain \
    --to=mucci@cs.utk.edu \
    --cc=Linux-mips@linux-mips.org \
    --cc=eranian@hpl.hp.com \
    --cc=perfmon@napali.hpl.hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox